Skip to content

Commit f2c206d

Browse files
updated docker file
1 parent 210c0c2 commit f2c206d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ 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+
14+
# Fix sources for ppc64le and update system
15+
RUN apt-get clean && \
1316
apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout="10" && \
1417
apt-get -y install --no-install-recommends \
1518
build-essential \

0 commit comments

Comments
 (0)