Files
prowler/util/Dockerfile
2021-05-17 11:23:51 -04:00

21 lines
421 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 && \
pip3 install --upgrade pip && \
pip install awscli boto3 detect-secrets
WORKDIR /prowler
COPY . ./
RUN chown -R prowler .
USER ${USERNAME}
ENTRYPOINT ["./prowler"]