Skip to content

Commit 43a7e9a

Browse files
authored
Add java25-jdk image variant (#3778)
1 parent ac46484 commit 43a7e9a

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

.github/workflows/build-multiarch.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,29 @@ jobs:
2222
# NOTE: the "latest" variant is identified in the Docker meta step's 'latest' config
2323
variant:
2424
- java25
25+
- java25-jdk
2526
- java25-graalvm
2627
- java21
2728
- java21-alpine
2829
- java21-graalvm
2930
- java21-jdk
3031
- java17
3132
- java17-graalvm
32-
- java17-alpine
3333
- java16
3434
- java11
3535
- java8
3636
- java8-graalvm-ce
37-
- java8-openj9
3837
- java8-jdk
3938
include:
4039
# JAVA 25
4140
- variant: java25
4241
baseImage: eclipse-temurin:25-jre
4342
platforms: linux/amd64,linux/arm64
4443
mcVersion: latest
44+
- variant: java25-jdk
45+
baseImage: eclipse-temurin:25
46+
platforms: linux/amd64,linux/arm64
47+
mcVersion: latest
4548
- variant: java25-graalvm
4649
baseImage: container-registry.oracle.com/graalvm/jdk:25-ol10
4750
platforms: linux/amd64,linux/arm64
@@ -73,10 +76,6 @@ jobs:
7376
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol10
7477
platforms: linux/amd64,linux/arm64
7578
mcVersion: 1.20.4
76-
- variant: java17-alpine
77-
baseImage: eclipse-temurin:17-jre-alpine
78-
platforms: linux/amd64
79-
mcVersion: 1.20.4
8079
# JAVA 16
8180
- variant: java16
8281
baseImage: adoptopenjdk:16-jre-hotspot
@@ -105,12 +104,6 @@ jobs:
105104
platforms: linux/amd64,linux/arm64
106105
mcVersion: 1.12.2
107106
# Pin version for Java 8
108-
# mcHelperVersion: 1.46.0
109-
- variant: java8-openj9
110-
baseImage: ibm-semeru-runtimes:open-8u312-b07-jre
111-
platforms: linux/amd64,linux/arm64
112-
mcVersion: 1.12.2
113-
# Pin version for Java 8
114107
# mcHelperVersion: 1.46.0
115108
env:
116109
IMAGE_TO_TEST: "${{ github.repository_owner }}/minecraft-server:test-${{ matrix.variant }}-${{ github.run_id }}"

docs/versions/java.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ where `<tag>` refers to the first column of this table:
1515
| latest | 21 | Ubuntu | Hotspot | amd64, arm64 | |
1616
| stable | 21 | Ubuntu | Hotspot | amd64, arm64 | |
1717
| java25 | 25 | Ubuntu | Hotspot | amd64, arm64 | |
18+
| java25-jdk | 25 | Ubuntu | Hotspot+JDK | amd64, arm64 | |
1819
| java25-graalvm | 25 | Oracle | Oracle GraalVM (3) | amd64, arm64 | |
1920
| java21 | 21 | Ubuntu | Hotspot | amd64, arm64 | |
2021
| java21-jdk | 21 | Ubuntu | Hotspot+JDK | amd64, arm64 | |
2122
| java21-alpine | 21 | Alpine | Hotspot | amd64, arm64 | |
2223
| java21-graalvm | 21 | Oracle | Oracle GraalVM (3) | amd64, arm64 | |
2324
| java17 | 17 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
2425
| java17-graalvm | 17 | Oracle | Oracle GraalVM (3) | amd64, arm64 | |
25-
| java17-alpine | 17 | Alpine | Hotspot | amd64 (1) | |
2626
| java16 | 16 | Ubuntu | Hotspot | amd64, arm64, armv7 | (4) |
2727
| java11 | 11 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
2828
| java8 | 8 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
2929

3030
Notes
3131

32-
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.
32+
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.
3333
2. Short-term variant, subject to deprecation upon next version introduction
3434
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.
3535
4. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements)
@@ -134,6 +134,7 @@ The following image tags have been deprecated and are no longer receiving update
134134
- java16-openj9
135135
- java17-graalvm-ce
136136
- java17-openj9
137+
- java17-alpine
137138
- java19
138139
- java20-graalvm, java20, java20-alpine
139140
- java23-*
@@ -143,4 +144,4 @@ The following image tags have been deprecated and are no longer receiving update
143144

144145
## JSON Listing
145146

146-
Information about the image tags is available programmatically at <https://raw.githubusercontent.com/itzg/docker-minecraft-server/refs/heads/master/images.json>
147+
Information about the image tags is available for programmatic access at <https://raw.githubusercontent.com/itzg/docker-minecraft-server/refs/heads/master/images.json>

images.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@
9797
"java": "17",
9898
"distribution": "alpine",
9999
"jvm": "hotspot",
100-
"architectures": ["amd64", "arm64"]
100+
"architectures": ["amd64", "arm64"],
101+
"deprecated": true
101102
},
102103
{
103104
"tag": "java17-graalvm",

0 commit comments

Comments
 (0)