refactor(docker): update main dockerfile (copy files directly)

Signed-off-by: Maik Ellerbrock <opensource@frapsoft.com>
This commit is contained in:
Maik Ellerbrock 2017-01-22 01:01:53 +01:00
parent dcecae29e9
commit 1745cc16bb
No known key found for this signature in database
GPG key ID: AC6B0B8B492B04CA
3 changed files with 17 additions and 48 deletions
distros

View file

@ -1,20 +0,0 @@
FROM alpine:3.5
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 \
docker \
dumb-init \
git && \
git clone https://github.com/docker/docker-bench-security.git /tmp/bench-security && \
cp /tmp/bench-security/*.sh /usr/local/bin && \
cp -R /tmp/bench-security/tests /usr/local/bin && \
rm -rf /tmp/*
WORKDIR /usr/local/bin
ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ]