diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8811905..50e0f4ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,7 @@ jobs: # NOTE: the "latest" variant is identified in the Docker meta step's 'latest' config variant: - java25 + - java25-alpine - java25-jdk - java21 - java21-alpine @@ -42,6 +43,10 @@ jobs: baseImage: eclipse-temurin:25-jre platforms: linux/amd64,linux/arm64 mcVersion: latest + - variant: java25-alpine + baseImage: eclipse-temurin:25-jre-alpine + platforms: linux/amd64,linux/arm64 + mcVersion: latest - variant: java25-jdk baseImage: eclipse-temurin:25 platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/verify-pr.yml b/.github/workflows/verify-pr.yml index 65aa16c0..75e10a2b 100644 --- a/.github/workflows/verify-pr.yml +++ b/.github/workflows/verify-pr.yml @@ -23,7 +23,7 @@ jobs: matrix: variant: - java25 - - java21-alpine + - java25-alpine - java17 - java8 include: @@ -32,8 +32,8 @@ jobs: baseImage: eclipse-temurin:25-jre platforms: linux/amd64,linux/arm64 mcVersion: latest - - variant: java21-alpine - baseImage: eclipse-temurin:21-jre-alpine + - variant: java25-alpine + baseImage: eclipse-temurin:25-jre-alpine platforms: linux/amd64,linux/arm64 mcVersion: latest # JAVA 17: diff --git a/docs/versions/java.md b/docs/versions/java.md index eefc4aa2..96b1e32c 100644 --- a/docs/versions/java.md +++ b/docs/versions/java.md @@ -15,25 +15,19 @@ where `` refers to the first column of this table: | latest | 25 | Ubuntu | Hotspot | amd64, arm64 | | | stable | 25 | Ubuntu | Hotspot | amd64, arm64 | | | java25 | 25 | Ubuntu | Hotspot | amd64, arm64 | | +| java25-alpine | 25 | Alpine | Hotspot | amd64, arm64 | | | java25-jdk | 25 | Ubuntu | Hotspot+JDK | amd64, arm64 | | -| java25-graalvm | 25 | Oracle | Oracle GraalVM (3) | amd64, arm64 | (5) | | java21 | 21 | Ubuntu | Hotspot | amd64, arm64 | | | java21-jdk | 21 | Ubuntu | Hotspot+JDK | amd64, arm64 | | | java21-alpine | 21 | Alpine | Hotspot | amd64, arm64 | | -| java21-graalvm | 21 | Oracle | Oracle GraalVM (3) | amd64, arm64 | (5) | | java17 | 17 | Ubuntu | Hotspot | amd64, arm64, armv7 | | -| java17-graalvm | 17 | Oracle | Oracle GraalVM (3) | amd64, arm64 | (5) | -| java16 | 16 | Ubuntu | Hotspot | amd64, arm64, armv7 | (4) | +| java16 | 16 | Ubuntu | Hotspot | amd64, arm64, armv7 | (1) | | java11 | 11 | Ubuntu | Hotspot | amd64, arm64, armv7 | | | java8 | 8 | Ubuntu | Hotspot | amd64, arm64, armv7 | | Notes -1. Why no arm64 for Java 17 Alpine? That is because the base images, such as [elipse-temurin](https://hub.docker.com/_/eclipse-temurin/tags?page=&page_size=&ordering=&name=17-jre-alpine) do not provide support for that. Use the Ubuntu-based images instead. -2. Short-term variant, subject to deprecation upon next version introduction -3. Based on the [Oracle GraalVM images](https://blogs.oracle.com/java/post/new-oracle-graalvm-container-images), which as of JDK 17, are now under the [GraalVM Free License](https://blogs.oracle.com/java/post/graalvm-free-license) incorporating what used to be known as the GraalVM Enterprise. -4. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements) -5. Due to these images using Oracle Linux, (which is based on Red Hat Enterprise Linux) Forge Installer will not work due to its use of zlib-ng. Use other images for initial installation and Forge version upgrade. +1. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements) !!! example "Example using java8" @@ -127,6 +121,7 @@ Forge also doesn't support openj9 JVM implementation. The following image tags have been deprecated and are no longer receiving updates: +- java25-graalvm, java21-graalvm, java17-graalvm - adopt13 - adopt14 - adopt15 diff --git a/images.json b/images.json index 08b22279..aad1ccf3 100644 --- a/images.json +++ b/images.json @@ -24,12 +24,20 @@ "jvm": "hotspot", "architectures": ["amd64", "arm64"] }, + { + "tag": "java25-alpine", + "java": "25", + "distribution": "alpine", + "jvm": "hotspot", + "architectures": ["amd64", "arm64"] + }, { "tag": "java25-graalvm", "java": "25", "distribution": "oracle", "jvm": "graalvm", - "architectures": ["amd64", "arm64"] + "architectures": ["amd64", "arm64"], + "deprecated": true }, { "tag": "java24", @@ -67,7 +75,8 @@ "java": "21", "distribution": "oracle", "jvm": "graalvm", - "architectures": ["amd64", "arm64"] + "architectures": ["amd64", "arm64"], + "deprecated": true }, { "tag": "java21-jdk",