Files
prowler/util/Dockerfile

21 lines
441 B
Docker

FROM alpine:3.13
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 jq file coreutils py3-pip git && \
pip3 install --upgrade pip && \
pip3 install awscli boto3 detect-secrets==1.0.3
WORKDIR /prowler
COPY . ./
RUN chown -R prowler .
USER ${USERNAME}
ENTRYPOINT ["./prowler"]