Dockerfile: remove pre-built git stage
QEMU usermode emulation is robust enough for running `apk add --no-cache git xz`, so can we can safely remove the pre-built git stage. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>v0.8
parent
aba69fa102
commit
64123a45c3
|
@ -128,7 +128,7 @@ RUN --mount=from=binaries \
|
|||
FROM scratch AS release
|
||||
COPY --from=releaser /out/ /
|
||||
|
||||
FROM tonistiigi/git@sha256:393483e1cef35f09e1a8fe0a0bd93a78b1b6ecec5b5afa5fa5d600fa3ab1fdd8 AS buildkit-export
|
||||
FROM git AS buildkit-export
|
||||
RUN apk add --no-cache fuse3 && ln -s fusermount3 /usr/bin/fusermount
|
||||
COPY examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/
|
||||
VOLUME /var/lib/buildkit
|
||||
|
|
Loading…
Reference in New Issue