From ab2ed73e27b53c2549e623633fad3038c2253a3e Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Wed, 14 Feb 2024 18:07:48 -0800 Subject: [PATCH] make sure iptables installed in release image Needed for bridge networking. Signed-off-by: Tonis Tiigi --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9255279d757f..97fad4566b08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -220,7 +220,7 @@ FROM scratch AS release COPY --link --from=releaser /out/ / FROM alpinebase AS buildkit-export -RUN apk add --no-cache fuse3 git openssh pigz xz \ +RUN apk add --no-cache fuse3 git openssh pigz xz iptables ip6tables \ && ln -s fusermount3 /usr/bin/fusermount COPY --link examples/buildctl-daemonless/buildctl-daemonless.sh /usr/bin/ VOLUME /var/lib/buildkit