-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update base image to ubuntu:jammy in hivesolutions/ubuntu
- Loading branch information
1 parent
6652e5c
commit 5be4c03
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"] |