mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
fix(dockerfile): copy dockerfile to distro
This commit is contained in:
parent
dcfcccd5f7
commit
2521d596d1
1 changed files with 5 additions and 3 deletions
|
@ -5,9 +5,6 @@ LABEL \
|
|||
org.label-schema.url="https://dockerbench.com" \
|
||||
org.label-schema.vcs-url="https://github.com/docker/docker-bench-security.git"
|
||||
|
||||
COPY ./*.sh /usr/local/bin/
|
||||
COPY ./tests/*.sh /usr/local/bin/tests/
|
||||
|
||||
# Switch to the HTTPS endpoint for the apk repositories
|
||||
# https://github.com/gliderlabs/docker-alpine/issues/184
|
||||
RUN \
|
||||
|
@ -17,6 +14,11 @@ RUN \
|
|||
dumb-init && \
|
||||
rm -rf /usr/bin/docker?*
|
||||
|
||||
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" ]
|
||||
|
|
Loading…
Reference in a new issue