refactor(docker): update Dockerfile.alpine to latest version

Signed-off-by: binary <binary@webdev.fritz.box>
This commit is contained in:
binary 2017-01-26 11:58:12 +01:00
parent 85a32bf8c1
commit 4535d08967

View file

@ -7,12 +7,14 @@ LABEL org.label-schema.name="docker-bench-security" \
RUN \ RUN \
apk add --no-cache \ apk add --no-cache \
docker \ docker \
dumb-init \ dumb-init && \
git && \ rm -rf /usr/bin/docker-* /usr/bin/dockerd && \
git clone https://github.com/docker/docker-bench-security.git /tmp/bench-security && \ mkdir /usr/local/bin/tests
cp /tmp/bench-security/*.sh /usr/local/bin && \
cp -R /tmp/bench-security/tests /usr/local/bin && \ COPY ./*.sh /usr/local/bin/
rm -rf /tmp/*
COPY ./tests/*.sh /usr/local/bin/tests/
WORKDIR /usr/local/bin WORKDIR /usr/local/bin