mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-18 17:34:17 +00:00
Updated Dockerfile with AWS cli v2
This commit is contained in:
1 parent
dc6718b9d1
commit
67adaf522e
1 file changed
+6
-2
+6
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user