From 32a593d857a0b83c7c03dd5afdbfd141ffe61cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Wed, 15 Jan 2025 10:57:49 +0000 Subject: [PATCH] add bash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10f9f0f..32b8c23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,10 @@ LABEL \ 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 iproute2 \ +RUN apk add --no-cache bash \ docker-cli \ dumb-init \ + iproute2 \ jq COPY . /usr/local/bin/ @@ -16,5 +17,5 @@ HEALTHCHECK CMD exit 0 WORKDIR /usr/local/bin -ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/sh", "docker-bench-security.sh" ] +ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/bash", "docker-bench-security.sh" ] CMD [""]