Skip to content

Commit 5365ce1

Browse files
build script comment manylinux check
1 parent ea6c30d commit 5365ce1

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/scripts/s390x-ci/self-hosted-builder/actions-runner.Dockerfile

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,25 @@ RUN apt-get update && apt-get -y install --no-install-recommends \
5050
ca-certificates \
5151
&& apt-get clean && rm -rf /var/lib/apt/lists/*
5252

53-
# Fix: Add Docker Engine repository correctly for ppc64le
54-
RUN apt-get update && apt-get install -y --no-install-recommends \
53+
# Replace apt sources for ppc64el
54+
RUN sed -i 's|http://archive.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' /etc/apt/sources.list && \
55+
sed -i 's|http://security.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' /etc/apt/sources.list
56+
57+
# Install dependencies
58+
RUN apt-get update && apt-get install -y \
5559
apt-transport-https \
5660
ca-certificates \
5761
curl \
5862
gnupg-agent \
59-
software-properties-common \
60-
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
61-
&& echo "deb [arch=ppc64el] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list \
62-
&& apt-get update -o Acquire::Retries=3 && apt-get install -y \
63+
software-properties-common && \
64+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
65+
echo "deb [arch=ppc64el] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list && \
66+
apt-get update && apt-get install -y \
6367
docker-ce \
6468
docker-ce-cli \
65-
containerd.io \
66-
&& apt-get clean && rm -rf /var/lib/apt/lists/*
69+
containerd.io && \
70+
apt-get clean && rm -rf /var/lib/apt/lists/*
71+
6772

6873
# Copy amd64 dependencies from the ld-prefix stage
6974
COPY --from=ld-prefix / /usr/x86_64-linux-gnu/

0 commit comments

Comments
 (0)