File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
.github/scripts/ppc64le/self-hosted-builder Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,17 @@ RUN apt-get clean && \
2626 vim \
2727 python3 \
2828 python3-pip \
29+ update-alternatives --set iptables /usr/sbin/iptables-legacy && \
30+ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
31+ apt-get clean && rm -rf /var/lib/apt/lists/*
32+
33+ # Add Docker GPG key and repository
34+ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
35+ 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 && \
36+ apt-get update && apt-get install -y \
2937 docker-ce \
3038 docker-ce-cli \
3139 containerd.io && \
32- update-alternatives --set iptables /usr/sbin/iptables-legacy && \
33- update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
3440 apt-get clean && rm -rf /var/lib/apt/lists/*
3541
3642# Add Docker GPG key and repository
You can’t perform that action at this time.
0 commit comments