Merge pull request #306 from nicdoye/devel

Merge RUNs. Run as non-root. Added jq
This commit is contained in:
Toni de la Fuente
2019-03-12 10:05:38 -04:00
committed by GitHub

View File

@@ -1,8 +1,15 @@
FROM alpine:3.9
RUN apk --update --no-cache add python3 bash curl git jq
RUN pip3 install --upgrade pip
RUN pip install awscli ansi2html boto3
RUN git clone https://github.com/toniblyx/prowler/
ARG USERNAME=prowler
ARG USERID=34000
ENTRYPOINT ["/prowler/prowler"]
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 && \
pip3 install --upgrade pip && \
pip install awscli ansi2html boto3 &&\
git clone https://github.com/toniblyx/prowler/
USER ${USERNAME}
ENTRYPOINT ["/prowler/prowler"]