Files
prowler/util/Dockerfile
2019-07-04 08:38:25 +02:00

17 lines
468 B
Docker

FROM alpine:3.9
ARG USERNAME=prowler
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 file && \
pip3 install --upgrade pip && \
pip install awscli ansi2html boto3 detect-secrets &&\
git clone https://github.com/toniblyx/prowler/ &&\
chown -R prowler /prowler/
USER ${USERNAME}
ENTRYPOINT ["/prowler/prowler"]