Skip to content

Commit 001b36d

Browse files
Merge pull request #1880 from thomasferrandiz/remove-no-sanity-check
Use manual test to ensure iptables-* binaries are present
2 parents aafad21 + d141df8 commit 001b36d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ COPY --from=build /build/dist/flanneld /opt/bin/flanneld
3333
COPY dist/mk-docker-opts.sh /opt/bin/
3434
COPY --from=build /iptables-wrapper/iptables-wrapper-installer.sh /
3535
COPY --from=build /iptables-wrapper/bin/iptables-wrapper /
36+
# check manually that iptables-legacy and iptables-nft are present since
37+
# iptables-wrapper-installer.sh sanity check doesn't work for multi-arch build
38+
RUN which iptables-legacy && which iptables-nft
3639
RUN /iptables-wrapper-installer.sh --no-sanity-check
3740

3841

0 commit comments

Comments
 (0)