Skip to content

Commit

Permalink
Merge pull request #1880 from thomasferrandiz/remove-no-sanity-check
Browse files Browse the repository at this point in the history
Use manual test to ensure iptables-* binaries are present
  • Loading branch information
thomasferrandiz authored Feb 26, 2024
2 parents aafad21 + d141df8 commit 001b36d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ COPY --from=build /build/dist/flanneld /opt/bin/flanneld
COPY dist/mk-docker-opts.sh /opt/bin/
COPY --from=build /iptables-wrapper/iptables-wrapper-installer.sh /
COPY --from=build /iptables-wrapper/bin/iptables-wrapper /
# check manually that iptables-legacy and iptables-nft are present since
# iptables-wrapper-installer.sh sanity check doesn't work for multi-arch build
RUN which iptables-legacy && which iptables-nft
RUN /iptables-wrapper-installer.sh --no-sanity-check


Expand Down

0 comments on commit 001b36d

Please sign in to comment.