File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
.github/scripts/ppc64le/self-hosted-builder Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff 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
3028RUN update-alternatives --set iptables /usr/sbin/iptables-legacy && \
You can’t perform that action at this time.
0 commit comments