2021-01-15 11:20:35 +01:00
|
|
|
FROM alpine:3.13
|
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 \
|
|
|
|
docker-cli \
|
|
|
|
dumb-init
|
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
|
|
|
|
2017-01-22 01:01:53 +01:00
|
|
|
ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ]
|
2018-05-02 14:52:38 +02:00
|
|
|
CMD [""]
|