Skip to content

Commit 52338b9

Browse files
updated docker file
1 parent 8c325d8 commit 52338b9

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ RUN echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy main res
1010
echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse" >> /etc/apt/sources.list && \
1111
echo "deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse" >> /etc/apt/sources.list
1212

13-
# Fix sources for ppc64le and update system
14-
RUN apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout="10" && \
13+
# Update and install basic tools
14+
RUN apt-get clean && rm -rf /var/lib/apt/lists/* && \
15+
apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout="10" && \
1516
apt-get -y install --no-install-recommends \
1617
build-essential \
1718
curl \
@@ -20,11 +21,8 @@ RUN apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout="10" && \
2021
gnupg-agent \
2122
iptables \
2223
ca-certificates \
23-
software-properties-common \
24-
vim \
25-
python3 \
26-
python3-pip \
27-
rm -rf /var/lib/apt/lists/*
24+
software-properties-common && \
25+
apt-get clean && rm -rf /var/lib/apt/lists/*
2826

2927
# Switch to iptables-legacy
3028
RUN update-alternatives --set iptables /usr/sbin/iptables-legacy && \

0 commit comments

Comments
 (0)