diff --git a/distros/Dockerfile.alpine b/distros/Dockerfile.alpine index 1e398c7..b8a6f18 100644 --- a/distros/Dockerfile.alpine +++ b/distros/Dockerfile.alpine @@ -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" ]