Skip to content

Commit

Permalink
python distutils is deprecated with removal on python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-gomes committed Apr 30, 2024
1 parent 52759f0 commit e44daba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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 &&\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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 &&\
Expand Down

0 comments on commit e44daba

Please sign in to comment.