Updated Dockerfile with AWS cli v2

This commit is contained in:
Toni de la Fuente committed 2021-12-16 15:58:02 +01:00
1 parent dc6718b9d1
commit 67adaf522e
1 file changed
+6 -2
+6 -2
View File
@@ -5,10 +5,14 @@ ARG USERID=34000
RUN yum install -y shadow-utils && \
useradd -s /bin/sh -U -u ${USERID} ${USERNAME} && \
yum install -y python3 bash curl jq file coreutils py3-pip which && \
yum install -y python3 bash curl jq file coreutils py3-pip which unzip && \
yum clean all && \
pip3 install --upgrade pip && \
pip3 install awscli boto3 detect-secrets
pip3 install boto3 detect-secrets==1.0.3 && \
curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip && \
unzip awscliv2.zip && \
aws/install && \
rm -rf aws awscliv2.zip
WORKDIR /prowler