Skip to content

Commit

Permalink
build(kuma-init): don't run try to run iptables when building kuma-in…
Browse files Browse the repository at this point in the history
…it (#9731)

Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont authored Mar 26, 2024
1 parent 815bb63 commit 6b9c380
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/releases/dockerfiles/kuma-init.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ COPY /build/artifacts-linux-$ARCH/iptables-wrapper/iptables-wrapper-installer.sh
/build/artifacts-linux-$ARCH/iptables-wrapper/iptables-wrapper \
/

RUN /iptables-wrapper-installer.sh
# We pass --no-sanity-check to the script because of multiarch/qemu-user-static#191
# Note that this bypasses checks that `iptables-{nft,legacy}` are installed and
# that no broken versions are installed.
RUN /iptables-wrapper-installer.sh --no-sanity-check

ENTRYPOINT ["/usr/bin/kumactl"]
CMD ["install", "transparent-proxy"]

0 comments on commit 6b9c380

Please sign in to comment.