mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-06-12 18:03:46 +00:00
refactor(docker): update main dockerfile (copy files directly)
Signed-off-by: Maik Ellerbrock <opensource@frapsoft.com>
This commit is contained in:
parent
dcecae29e9
commit
1745cc16bb
3 changed files with 17 additions and 48 deletions
distros
|
@ -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" ]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue