2023-11-19 21:08:05 +01:00
|
|
|
FROM alpine:3.18@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
|
2015-05-11 06:08:28 +02:00
|
|
|
|
2017-12-11 00:56:49 +01:00
|
|
|
LABEL \
|
|
|
|
org.label-schema.name="docker-bench-security" \
|
|
|
|
org.label-schema.url="https://dockerbench.com" \
|
|
|
|
org.label-schema.vcs-url="https://github.com/docker/docker-bench-security.git"
|
2015-12-22 20:46:56 +01:00
|
|
|
|
2021-03-16 08:58:57 +01:00
|
|
|
RUN apk add --no-cache iproute2 \
|
2023-06-03 00:16:31 +02:00
|
|
|
docker-cli \
|
|
|
|
dumb-init \
|
|
|
|
jq
|
2015-05-11 06:08:28 +02:00
|
|
|
|
2021-03-16 08:58:57 +01:00
|
|
|
COPY . /usr/local/bin/
|
2017-12-11 22:14:47 +01:00
|
|
|
|
2017-12-14 00:22:54 +01:00
|
|
|
HEALTHCHECK CMD exit 0
|
|
|
|
|
2017-01-22 01:01:53 +01:00
|
|
|
WORKDIR /usr/local/bin
|
2015-05-11 06:08:28 +02:00
|
|
|
|
2021-07-06 18:57:57 +02:00
|
|
|
ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/sh", "docker-bench-security.sh" ]
|
2018-05-02 14:52:38 +02:00
|
|
|
CMD [""]
|