mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Remove duplicate Dockerfile
This commit is contained in:
parent
b757aa7334
commit
ca03a37db6
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
||||||
FROM alpine:3.12
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
# Switch to the HTTPS endpoint for the apk repositories
|
|
||||||
# https://github.com/gliderlabs/docker-alpine/issues/184
|
|
||||||
RUN set -eux; \
|
|
||||||
sed -i 's!http://dl-cdn.alpinelinux.org/!https://alpine.global.ssl.fastly.net/!g' /etc/apk/repositories && \
|
|
||||||
apk add --no-cache \
|
|
||||||
iproute2 \
|
|
||||||
docker-cli \
|
|
||||||
dumb-init
|
|
||||||
|
|
||||||
COPY ./*.sh /usr/local/bin/
|
|
||||||
COPY ./tests/*.sh /usr/local/bin/tests/
|
|
||||||
|
|
||||||
HEALTHCHECK CMD exit 0
|
|
||||||
|
|
||||||
WORKDIR /usr/local/bin
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ]
|
|
||||||
CMD [""]
|
|
Loading…
Reference in a new issue