Skip to content

Commit

Permalink
Add fuse dependency to moby/buildkit image
Browse files Browse the repository at this point in the history
Currently moby/buildkit image misses fuse dependency (fusermount) so currently
stargz support doesn't work on that image. This commit fixes this issue.

Signed-off-by: ktock <ktokunaga.mail@gmail.com>
Signed-off-by: fahed dorgaa <fahed.dorgaa@gmail.com>
  • Loading branch information
ktock authored and fahedouch committed Nov 9, 2020
1 parent 023aa50 commit 7358325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ FROM scratch AS release
COPY --from=releaser /out/ /

FROM tonistiigi/git@sha256:393483e1cef35f09e1a8fe0a0bd93a78b1b6ecec5b5afa5fa5d600fa3ab1fdd8 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

Expand Down

0 comments on commit 7358325

Please sign in to comment.