From 22fe39be8b7ccb034bdc52a6af7724a2f1f4bec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Wed, 13 Mar 2024 17:59:24 +0100 Subject: [PATCH] Update JDK versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Pupier --- README.md | 6 +++--- universal/ubi8/Dockerfile | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 123cee53..f1885e7b 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,9 @@ docker run -ti --rm \ |---------------------|-------------------------------------| |--------JAVA---------|-------------------------------------| | `sdk` |`` | -| `java` |`<8.0.332-tem via sdkman>` | -| `java` |`<11.0.15-tem via sdkman>/default` | -| `java` |`<17.0.3-tem via sdkman>` | +| `java` |`<8.0.402-tem via sdkman>` | +| `java` |`<11.0.22-tem via sdkman>/default` | +| `java` |`<17.0.10-tem via sdkman>` | | `maven` |`` | | `gradle` |`` | | `mandrel` |`<22.1.0.0.r17-mandrel via sdkman>` | diff --git a/universal/ubi8/Dockerfile b/universal/ubi8/Dockerfile index 208f44bb..21ef57ed 100644 --- a/universal/ubi8/Dockerfile +++ b/universal/ubi8/Dockerfile @@ -33,11 +33,11 @@ RUN curl -fsSL "https://get.sdkman.io/?rcupdate=false" | bash \ && bash -c ". /home/tooling/.sdkman/bin/sdkman-init.sh \ && sed -i "s/sdkman_auto_answer=false/sdkman_auto_answer=true/g" /home/tooling/.sdkman/etc/config \ && sed -i "s/sdkman_auto_env=false/sdkman_auto_env=true/g" /home/tooling/.sdkman/etc/config \ - && sdk install java 8.0.332-tem \ - && sdk install java 11.0.15-tem \ - && sdk install java 17.0.3-tem \ + && sdk install java 8.0.402-tem \ + && sdk install java 11.0.22-tem \ + && sdk install java 17.0.10-tem \ && sdk install java 22.1.0.0.r17-mandrel \ - && sdk default java 17.0.3-tem \ + && sdk default java 17.0.10-tem \ && sdk install gradle \ && sdk install maven \ && sdk install jbang \ @@ -46,9 +46,9 @@ RUN curl -fsSL "https://get.sdkman.io/?rcupdate=false" | bash \ && chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling # sdk home java -ENV JAVA_HOME_8=/home/tooling/.sdkman/candidates/java/8.0.332-tem -ENV JAVA_HOME_11=/home/tooling/.sdkman/candidates/java/11.0.15-tem -ENV JAVA_HOME_17=/home/tooling/.sdkman/candidates/java/17.0.3-tem +ENV JAVA_HOME_8=/home/tooling/.sdkman/candidates/java/8.0.402-tem +ENV JAVA_HOME_11=/home/tooling/.sdkman/candidates/java/11.0.22-tem +ENV JAVA_HOME_17=/home/tooling/.sdkman/candidates/java/17.0.10-tem # Java-related environment variables are described and set by ${PROFILE_EXT}, which will be loaded by ~/.bashrc # To make Java working for dash and other shells, it needs to initialize them in the Dockerfile.