Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding ubuntu 24.04 #20

Merged
merged 13 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
python2 is removed due to its incompatibility with libssl 3 on ubuntu…
… noble
  • Loading branch information
hugo-gomes committed Apr 30, 2024
commit 595666076cacfe47696b5816a44b4e7fc835ef08
8 changes: 2 additions & 6 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ LABEL maintainer="Hive Solutions <[email protected]>"
ARG DEBIAN_FRONTEND=noninteractive
hugo-gomes marked this conversation as resolved.
Show resolved Hide resolved

RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python2 python3 python3-distutils &&\
hugo-gomes marked this conversation as resolved.
Show resolved Hide resolved
ln -s /usr/bin/python2 /usr/bin/python &&\
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 clean && rm -rf /var/lib/apt/lists/* &&\
wget "https://bootstrap.pypa.io/get-pip.py" &&\
wget "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -O get-pip-2.py &&\
python3 get-pip.py --no-cache-dir --no-compile &&\
python get-pip-2.py --no-cache-dir --no-compile &&\
rm get-pip.py &&\
rm get-pip-2.py
rm get-pip.py

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

CMD ["/bin/bash"]
Loading