You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ RUN /sbin/setcap cap_setuid+eip /usr/bin/newuidmap && \
77
77
COPY --from=artifact /rootlesskit /home/user/bin/
78
78
COPY --from=artifact /rootlessctl /home/user/bin/
79
79
ARG SLIRP4NETNS_VERSION
80
-
RUN curl -sSL -o /home/user/bin/slirp4netns https://github.com/rootless-containers/slirp4netns/releases/download/${SLIRP4NETNS_VERSION}/slirp4netns-x86_64 && \
80
+
RUN curl -sSL -o /home/user/bin/slirp4netns https://github.com/rootless-containers/slirp4netns/releases/download/${SLIRP4NETNS_VERSION}/slirp4netns-$(uname -m) && \
81
81
chmod +x /home/user/bin/slirp4netns
82
82
COPY --from=vpnkit /vpnkit /home/user/bin/vpnkit
83
83
COPY --from=passt /usr/local /usr/local
@@ -94,7 +94,7 @@ WORKDIR /home/user/hack
94
94
FROM test-integration AS test-integration-docker
95
95
ARG DOCKER_VERSION
96
96
ARG DOCKER_CHANNEL
97
-
RUN curl -fsSL https://download.docker.com/linux/static/${DOCKER_CHANNEL}/x86_64/docker-${DOCKER_VERSION}.tgz | tar xz --strip-components=1 -C /home/user/bin/
97
+
RUN curl -fsSL https://download.docker.com/linux/static/${DOCKER_CHANNEL}/$(uname -m)/docker-${DOCKER_VERSION}.tgz | tar xz --strip-components=1 -C /home/user/bin/
98
98
RUN curl -fsSL -o /home/user/bin/dockerd-rootless.sh https://raw.githubusercontent.com/moby/moby/v${DOCKER_VERSION}/contrib/dockerd-rootless.sh && \
99
99
chmod +x /home/user/bin/dockerd-rootless.sh
100
100
# rootlesskit-docker-proxy is no longer needed since Docker v28
0 commit comments