mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
Merge RUNs. Run as non-root
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
FROM alpine:3.9
|
FROM alpine:3.9
|
||||||
|
|
||||||
RUN apk --update --no-cache add python3 bash curl git
|
ARG USERNAME=prowler
|
||||||
RUN pip3 install --upgrade pip
|
ARG USERID=34000
|
||||||
RUN pip install awscli ansi2html boto3
|
|
||||||
RUN git clone https://github.com/toniblyx/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 && \
|
||||||
|
pip3 install --upgrade pip && \
|
||||||
|
pip install awscli ansi2html boto3 &&\
|
||||||
|
git clone https://github.com/toniblyx/prowler/
|
||||||
|
|
||||||
|
USER ${USERNAME}
|
||||||
|
|
||||||
ENTRYPOINT ["/prowler/prowler"]
|
ENTRYPOINT ["/prowler/prowler"]
|
||||||
CMD []
|
|
||||||
Reference in New Issue
Block a user