@@ -10,9 +10,8 @@ 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- # 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" && \
13+ # Fix sources for ppc64le and update system
14+ RUN apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout="10" && \
1615 apt-get -y install --no-install-recommends \
1716 build-essential \
1817 curl \
@@ -21,21 +20,16 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* && \
2120 gnupg-agent \
2221 iptables \
2322 ca-certificates \
24- software-properties-common && \
23+ software-properties-common \
24+ vim \
25+ python3 \
26+ python3-pip && \
2527 apt-get clean && rm -rf /var/lib/apt/lists/*
2628
2729# Switch to iptables-legacy
2830RUN update-alternatives --set iptables /usr/sbin/iptables-legacy && \
2931 update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
3032
31- # Add Docker GPG key and repository
32- RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
33- echo "deb [arch=ppc64el signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list && \
34- apt-get update && apt-get install -y \
35- docker-ce \
36- docker-ce-cli \
37- containerd.io && \
38- apt-get clean && rm -rf /var/lib/apt/lists/*
3933
4034# Add Docker GPG key and repository
4135RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
0 commit comments