File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- FROM alpine:3.18 @sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
1+ FROM alpine:3@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
22
33LABEL \
44 org.label-schema.name="docker-bench-security" \
55 org.label-schema.url="https://dockerbench.com" \
66 org.label-schema.vcs-url="https://github.com/docker/docker-bench-security.git"
77
88RUN apk add --no-cache iproute2 \
9- docker-cli \
10- dumb-init \
11- jq
9+ docker-cli \
10+ dumb-init \
11+ jq \
12+ bash
1213
1314COPY . /usr/local/bin/
1415
1516HEALTHCHECK CMD exit 0
1617
1718WORKDIR /usr/local/bin
1819
19- ENTRYPOINT [ "/usr/bin/dumb-init" , "/bin/sh " , "docker-bench-security.sh" ]
20+ ENTRYPOINT [ "/usr/bin/dumb-init" , "/bin/bash " , "docker-bench-security.sh" ]
2021CMD ["" ]
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/bash
22
33host_configuration () {
44 check_1
You can’t perform that action at this time.
0 commit comments