mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
39963dad60
Closes #524.
20 lines
497 B
Docker
20 lines
497 B
Docker
FROM alpine:3.15
|
|
|
|
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"
|
|
|
|
RUN apk add --no-cache iproute2 \
|
|
docker-cli \
|
|
dumb-init \
|
|
jq
|
|
|
|
COPY . /usr/local/bin/
|
|
|
|
HEALTHCHECK CMD exit 0
|
|
|
|
WORKDIR /usr/local/bin
|
|
|
|
ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/sh", "docker-bench-security.sh" ]
|
|
CMD [""]
|