From 31cefa5b3cd9c277115718224bef12698bc11d21 Mon Sep 17 00:00:00 2001 From: Andrea Di Fabio <39841198+sectoramen@users.noreply.github.com> Date: Wed, 2 Mar 2022 10:21:28 -0500 Subject: [PATCH] Make python3 default in Dockerfile (#1043) --- util/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/Dockerfile b/util/Dockerfile index 38d6f3c4..a0a1a9eb 100644 --- a/util/Dockerfile +++ b/util/Dockerfile @@ -19,7 +19,9 @@ RUN yum install -y shadow-utils && \ curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip && \ unzip awscliv2.zip && \ aws/install && \ - rm -rf aws awscliv2.zip /var/cache/yum + rm -rf aws awscliv2.zip /var/cache/yum && \ + rm /usr/bin/python && \ + ln -s /usr/bin/python3 /usr/bin/python WORKDIR /prowler