diff --git a/Dockerfile b/Dockerfile index 0ced361..59aa375 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ LABEL org.label-schema.name="docker-bench-security" \ org.label-schema.vcs-url="https://github.com/docker/docker-bench-security.git" RUN \ + apk upgrade --no-cache && \ apk add --no-cache \ docker \ dumb-init && \ @@ -15,7 +16,6 @@ COPY ./*.sh /usr/local/bin/ COPY ./tests/*.sh /usr/local/bin/tests/ - WORKDIR /usr/local/bin ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ]