From e31e7aa0ae8392315ebad497e858c3e90e91e60f Mon Sep 17 00:00:00 2001 From: Lewis Denham-Parry Date: Tue, 6 Jul 2021 17:57:57 +0100 Subject: [PATCH] fix: set docker-bench-security to sh - Set script to execute with sh rather than bash - Set CMD Dockerfile to use /bin/sh --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ed4596a..5c2f48c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,5 +15,5 @@ HEALTHCHECK CMD exit 0 WORKDIR /usr/local/bin -ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ] +ENTRYPOINT [ "/usr/bin/dumb-init", "/bin/sh", "docker-bench-security.sh" ] CMD [""]