File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
core/src/test/resources/internal-port-check-dockerfile Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- # If you ever upgrade this image, watch out for bash being installed by default in newer alpine base images
21FROM nginx:1.17-alpine
32
43RUN apk add bash
Original file line number Diff line number Diff line change 1- # If you ever upgrade this image, watch out for bash being installed by default in newer alpine base images
21FROM nginx:1.17-alpine
32
3+ # If this fails, you ended up using a base image with bash installed. Consider removing /bin/bash in this case
4+ RUN if bash -c true &> /dev/null; then exit 1; fi
5+
46# Make sure the /proc/net/tcp* check fails in this container
57RUN rm /usr/bin/awk
68
Original file line number Diff line number Diff line change 1- # If you ever upgrade this image, watch out for bash being installed by default in newer alpine base images
21FROM nginx:1.17-alpine
32
3+ # If this fails, you ended up using a base image with bash installed. Consider removing /bin/bash in this case
4+ RUN if bash -c true &> /dev/null; then exit 1; fi
5+
46# Make sure the nc check fails in this container
57RUN rm /usr/bin/nc
68
You can’t perform that action at this time.
0 commit comments