Skip to content

Commit afa9bc6

Browse files
Updated java11 image to Ubuntu 22
1 parent e2eea9d commit afa9bc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java11/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
ENV DEBIAN_FRONTEND=noninteractive \
44
JAVA_HOME=/usr/lib/jvm/zulu11
@@ -10,15 +10,15 @@ RUN apt-get update -qq && \
1010
apt-get update -qq && \
1111
apt-get install -y python3.12 python3.12-dev libpython3.12-dev && \
1212
curl -s -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
13-
apt-get install -y python3.12-distutils && \
13+
apt-get install -y python3-setuptools && \
1414
python3.12 /tmp/get-pip.py && rm /tmp/get-pip.py && \
1515
update-alternatives --install /usr/bin/python python /usr/bin/python3.12 3 && \
1616
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 3
1717

1818
# Maven
19-
RUN curl -k -sSL -o - https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz \
19+
RUN curl -k -sSL -o - https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.tar.gz \
2020
| tar xzf - -C /usr/local/ \
21-
&& ln -sf /usr/local/apache-maven-3.9.4/bin/mvn /usr/bin/mvn
21+
&& ln -sf /usr/local/apache-maven-3.9.11/bin/mvn /usr/bin/mvn
2222

2323
# Zulu Java 11
2424
# https://docs.azul.com/zulu/zuludocs/#ZuluUserGuide/InstallingZulu/InstallOnLinuxUsingAPTRepository.htm

0 commit comments

Comments
 (0)