From 7867c2b2b4f9083e0d5edbae8162377bf01750fb Mon Sep 17 00:00:00 2001 From: Hugo Gomes Date: Tue, 30 Apr 2024 13:08:58 +0100 Subject: [PATCH] ensure 'python' commands uses python3 by adding python-is-python3 --- ubuntu/Dockerfile | 2 +- ubuntu/Dockerfile.noble | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index dd6461b..d020029 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 python-is-python3 &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/get-pip.py" &&\ python get-pip.py --no-cache-dir --no-compile &&\ diff --git a/ubuntu/Dockerfile.noble b/ubuntu/Dockerfile.noble index ab2ee46..434850f 100644 --- a/ubuntu/Dockerfile.noble +++ b/ubuntu/Dockerfile.noble @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 python-is-python3 &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/get-pip.py" &&\ python get-pip.py --no-cache-dir --no-compile &&\