build: add back arm64 into java17/21 alpine multiarch (#2858)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2024-05-27 15:03:32 -05:00
1 parent 36c92be777
commit e172b52027
3 files changed
+24 -22

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
mcVersion: latest mcVersion: latest
- variant: java21-alpine - variant: java21-alpine
baseImage: eclipse-temurin:21-jre-alpine baseImage: eclipse-temurin:21-jre-alpine
platforms: linux/amd64 platforms: linux/amd64,linux/arm64
mcVersion: latest mcVersion: latest
# JAVA 17: # JAVA 17:
- variant: java17 - variant: java17
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
mcVersion: latest mcVersion: latest
- variant: java21-alpine - variant: java21-alpine
baseImage: eclipse-temurin:21-jre-alpine baseImage: eclipse-temurin:21-jre-alpine
platforms: linux/amd64 platforms: linux/amd64,linux/arm64
mcVersion: latest mcVersion: latest
# JAVA 17: # JAVA 17:
- variant: java17 - variant: java17
+22 -20
View File
@@ -10,30 +10,32 @@ or explicitly include the tag, such as
where `<tag>` refers to the first column of this table: where `<tag>` refers to the first column of this table:
| Tag | Java version | Linux | JVM Type | Architecture | | Tag | Java version | Linux | JVM Type | Architecture |
|------------------|--------------|--------|--------------------|-------------------| |------------------|--------------|--------|--------------------|---------------------|
| latest | 21 | Ubuntu | Hotspot | amd64,arm64 | | latest | 21 | Ubuntu | Hotspot | amd64, arm64 |
| stable | 21 | Ubuntu | Hotspot | amd64,arm64 | | stable | 21 | Ubuntu | Hotspot | amd64, arm64 |
| java21 | 21 | Ubuntu | Hotspot | amd64,arm64 | | java21 | 21 | Ubuntu | Hotspot | amd64, arm64 |
| java21-alpine | 21 | Alpine | Hotspot | amd64 | | java21-alpine | 21 | Alpine | Hotspot | amd64, arm64 |
| java21-graalvm | 21 | Oracle | Oracle GraalVM[^1] | amd64,arm64 | | java21-graalvm | 21 | Oracle | Oracle GraalVM[^1] | amd64, arm64 |
| java17 | 17 | Ubuntu | Hotspot | amd64,arm64,armv7 | | java17 | 17 | Ubuntu | Hotspot | amd64, arm64, armv7 |
| java17-jdk | 17 | Ubuntu | Hotspot+JDK | amd64,arm64,armv7 | | java17-jdk | 17 | Ubuntu | Hotspot+JDK | amd64, arm64, armv7 |
| java17-graalvm | 17 | Oracle | Oracle GraalVM[^1] | amd64,arm64 | | java17-graalvm | 17 | Oracle | Oracle GraalVM[^1] | amd64, arm64 |
| java17-alpine | 17 | Alpine | Hotspot | amd64 | | java17-alpine | 17 | Alpine | Hotspot | amd64 (1) |
| java11 | 11 | Ubuntu | Hotspot | amd64,arm64,armv7 | | java11 | 11 | Ubuntu | Hotspot | amd64, arm64, armv7 |
| java8 | 8 | Ubuntu | Hotspot | amd64 | | java8 | 8 | Ubuntu | Hotspot | amd64, arm64, armv7 |
| java8-alpine | 8 | Alpine | Hotspot | amd64 | | java8-alpine | 8 | Alpine | Hotspot | amd64 (1) |
| java8-jdk | 8 | Ubuntu | Hotspot+JDK | amd64 | | java8-jdk | 8 | Ubuntu | Hotspot+JDK | amd64 |
| java8-openj9 | 8 | Debian | OpenJ9 | amd64 | | java8-openj9 | 8 | Debian | OpenJ9 | amd64 |
| java8-graalvm-ce | 8 | Oracle | GraalVM CE | amd64 | | java8-graalvm-ce | 8 | Oracle | GraalVM CE | amd64 |
!!! example "Example using java8-multiarch" 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.
!!! example "Example using java8"
With docker run command-line With docker run command-line
``` ```
docker run -it -e EULA=true itzg/minecraft-server:java8-multiarch docker run -it -e EULA=true itzg/minecraft-server:java8
``` ```
or in a compose file or in a compose file
@@ -41,7 +43,7 @@ where `<tag>` refers to the first column of this table:
```yaml ```yaml
services: services:
mc: mc:
image: itzg/minecraft-server:java8-multiarch image: itzg/minecraft-server:java8
``` ```
!!! note "Latest" !!! note "Latest"