File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
.github/scripts/s390x-ci/self-hosted-builder Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11# Stage 1: Temporary image for amd64 dependencies
22FROM docker.io/amd64/ubuntu:22.04 as ld-prefix
33ENV DEBIAN_FRONTEND=noninteractive
4+
5+ # Install amd64-specific dependencies
46RUN apt-get update && apt-get -y install \
57 ca-certificates \
68 libicu70 \
79 libssl3
810
9- # Main image: ppc64le Ubuntu
11+ # Stage 2: Main image for ppc64le Ubuntu
1012FROM --platform=linux/ppc64le ubuntu:22.04
1113
1214# Set non-interactive mode for apt
@@ -50,7 +52,16 @@ ENV QEMU_LD_PREFIX=/usr/x86_64-linux-gnu
5052COPY fs/ /
5153RUN chmod +x /usr/bin/actions-runner /usr/bin/entrypoint
5254
55+ # Install Docker Engine for ppc64le
5356RUN apt-get update && apt-get install -y \
57+ apt-transport-https \
58+ ca-certificates \
59+ curl \
60+ gnupg-agent \
61+ software-properties-common \
62+ && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
63+ && echo "deb [arch=ppc64el] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list \
64+ && apt-get update && apt-get install -y \
5465 docker-ce \
5566 docker-ce-cli \
5667 containerd.io \
You can’t perform that action at this time.
0 commit comments