Skip to content

Commit 2fffa3c

Browse files
updated docker file
1 parent 0fcc661 commit 2fffa3c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/scripts/ppc64le/self-hosted-builder/actions-runner.Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ FROM ubuntu:22.04
44
# Set non-interactive mode for apt
55
ENV DEBIAN_FRONTEND=noninteractive
66

7-
# Fix sources for ppc64le and update system
7+
# Fix sources to point to ports.ubuntu.com for ppc64le
88
RUN echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse" > /etc/apt/sources.list && \
99
echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
1010
echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse" >> /etc/apt/sources.list && \
11-
echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse" >> /etc/apt/sources.list & \
12-
apt-get clean && \
11+
echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse" >> /etc/apt/sources.list
12+
13+
# Fix sources for ppc64le and update system
14+
RUN apt-get clean && \
1315
apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout="10" && \
1416
apt-get -y install --no-install-recommends \
1517
build-essential \

0 commit comments

Comments
 (0)