From e44dabaeaa99f2e8ab6a9ca54f65a252b5610bfd Mon Sep 17 00:00:00 2001 From: Hugo Gomes Date: Tue, 30 Apr 2024 13:01:24 +0100 Subject: [PATCH] python distutils is deprecated with removal on python 3.12 --- ubuntu/Dockerfile | 2 +- ubuntu/Dockerfile.bionic | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 5686d19..dd6461b 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 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https 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.bionic b/ubuntu/Dockerfile.bionic index 038478a..712ed83 100644 --- a/ubuntu/Dockerfile.bionic +++ b/ubuntu/Dockerfile.bionic @@ -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 python python3 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/pip/3.6/get-pip.py" &&\ wget "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -O get-pip-2.py &&\