Make image smaller

This commit is contained in:
Nimrod Kor
2019-11-16 21:01:23 -08:00
parent ef26086330
commit 592af2b5b5
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
FROM python
FROM python:3.7-slim
MAINTAINER Bridgecrew <www.bridgecrew.io>
RUN apt-get update && apt-get upgrade -y && apt-get install jq -y && pip install awscli detect-secrets boto3
RUN apt-get update && apt-get upgrade -y && apt-get install jq curl -y && pip install awscli detect-secrets boto3
RUN curl -sL https://github.com/bridgecrewio/prowler/archive/feature/dockerized_prowler.tar.gz | tar xz
+2
View File
@@ -5,4 +5,6 @@ python3 credentials.py $ACCOUNT_ID
echo "Running prowler on $ALIAS"
./prowler -c extra741 -M json > output.json
cat output.json
aws s3api put-object --bucket $BUCKET --key prowler/$ACCOUNT_ID/results