diff --git a/Dockerfile b/Dockerfile index 9c1efb14dc84..7bcb1728f34c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -205,7 +205,7 @@ FROM scratch AS release COPY --link --from=releaser /out/ / FROM alpine:${ALPINE_VERSION} AS buildkit-export-alpine -RUN apk add --no-cache fuse3 git openssh openssl pigz xz iptables ip6tables \ +RUN apk add --no-cache fuse3 git openssh openssl pigz xz iptables ip6tables util-linux-misc \ && ln -s fusermount3 /usr/bin/fusermount COPY --link examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/ VOLUME /var/lib/buildkit @@ -380,8 +380,37 @@ EOT FROM buildkit-export AS buildkit-linux COPY --link --from=binaries / /usr/bin/ +COPY --link --chmod=755 <