From e273ae31237e2deafcef2e91b27bf26109a14b32 Mon Sep 17 00:00:00 2001 From: David Lladro Date: Thu, 27 Jun 2019 15:27:19 -0500 Subject: [PATCH] Adding detect_secrets support to Docker --- util/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/Dockerfile b/util/Dockerfile index 2af2f3d5b4e7..98d049f1b140 100644 --- a/util/Dockerfile +++ b/util/Dockerfile @@ -5,11 +5,12 @@ ARG USERID=34000 RUN addgroup -g ${USERID} ${USERNAME} && \ adduser -s /bin/sh -G ${USERNAME} -D -u ${USERID} ${USERNAME} && \ - apk --update --no-cache add python3 bash curl git jq && \ + apk --update --no-cache add python3 bash curl git jq file && \ pip3 install --upgrade pip && \ - pip install awscli ansi2html boto3 &&\ + pip install awscli ansi2html boto3 detect-secrets &&\ git clone https://github.com/toniblyx/prowler/ + chown -R prowler /prowler/ USER ${USERNAME} -ENTRYPOINT ["/prowler/prowler"] \ No newline at end of file +ENTRYPOINT ["/prowler/prowler"]