Skip to content

Commit

Permalink
python2 is removed due to its incompatibility with libssl 3 on ubuntu…
Browse files Browse the repository at this point in the history
… noble
  • Loading branch information
hugo-gomes committed Apr 30, 2024
1 parent 5956660 commit 526402f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ 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 python python-distutils &&\
apt-get clean && rm -rf /var/lib/apt/lists/* &&\
wget "https://bootstrap.pypa.io/get-pip.py" &&\
python3 get-pip.py --no-cache-dir --no-compile &&\
python get-pip.py --no-cache-dir --no-compile &&\
rm get-pip.py

CMD ["/bin/bash"]
4 changes: 2 additions & 2 deletions ubuntu/Dockerfile.noble
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ 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 python python-distutils &&\
apt-get clean && rm -rf /var/lib/apt/lists/* &&\
wget "https://bootstrap.pypa.io/get-pip.py" &&\
python3 get-pip.py --no-cache-dir --no-compile &&\
python get-pip.py --no-cache-dir --no-compile &&\
rm get-pip.py

CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion ubuntu_dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo gcc make curl pypy linux-headers-generic\
libssl-dev python3-dev pypy-dev &&\
libssl-dev python-dev pypy-dev &&\
apt-get clean && rm -rf /var/lib/apt/lists/*

CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion ubuntu_dev/Dockerfile.noble
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo gcc make curl pypy linux-headers-generic\
libssl-dev python3-dev pypy-dev &&\
libssl-dev python-dev pypy-dev &&\
apt-get clean && rm -rf /var/lib/apt/lists/*

CMD ["/bin/bash"]

0 comments on commit 526402f

Please sign in to comment.