File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
.github/scripts/s390x-ci/self-hosted-builder Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,20 @@ RUN chmod +x /usr/bin/actions-runner /usr/bin/entrypoint
4646
4747# install podman
4848# Add Podman repository and install Podman
49+
50+
4951RUN apt-get update && \
50- apt-get -y install software-properties-common && \
51- . /etc/os-release && \
52- echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$ID_$VERSION_ID / /" > /etc/apt/sources.list.d/devel:kubic: libcontainers:stable .list && \
53- curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/$ID_$VERSION_ID /Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers.gpg && \
52+ apt-get install -y software-properties-common && \
53+ sed -i 's|http://archive.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' /etc/apt/sources.list && \
54+ echo "deb [signed-by=/usr/share/keyrings/libcontainers.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Ubuntu_22.04 / /" > /etc/apt/sources.list.d/libcontainers.list && \
55+ curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Ubuntu_22.04 /Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers.gpg && \
5456 apt-get update && \
55- apt-get -y install podman podman-docker && \
57+ apt-get install -y podman podman-docker && \
5658 apt-get clean && \
5759 rm -rf /var/lib/apt/lists/*
5860
5961
62+
6063# amd64 Github Actions Runner.
6164RUN useradd -m actions-runner
6265USER actions-runner
You can’t perform that action at this time.
0 commit comments