Skip to content

Commit

Permalink
update base image to ubuntu:jammy in hivesolutions/ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-gomes committed May 3, 2024
1 parent 6652e5c commit 5be4c03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
FROM ubuntu:latest
FROM ubuntu:jammy

LABEL version="1.0"
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 python-is-python3 &&\
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 clean && rm -rf /var/lib/apt/lists/* &&\
wget "https://bootstrap.pypa.io/get-pip.py" &&\
python get-pip.py --no-cache-dir --no-compile --break-system-packages &&\
rm 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

CMD ["/bin/bash"]
4 changes: 2 additions & 2 deletions ubuntu_dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ LABEL maintainer="Hive Solutions <[email protected]>"
ARG DEBIAN_FRONTEND=noninteractive

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

CMD ["/bin/bash"]

0 comments on commit 5be4c03

Please sign in to comment.