Skip to content

Commit 90a4064

Browse files
update docker image
1 parent 253c7ee commit 90a4064

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/prepare-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ jobs:
134134
- runner: macos-13
135135
os_family: macOS
136136
arch: amd64
137+
- runner: macos-latest
138+
os_family: macOS
139+
arch: arm64
140+
- runner: ubuntu-24.04-arm
141+
os_family: linux
142+
arch: arm64
137143
- runner: windows-2019
138144
os_family: windows
139145
arch: amd64
@@ -154,8 +160,8 @@ jobs:
154160
if: matrix.os_family != 'Linux'
155161
uses: actions/setup-java@v4
156162
with:
157-
java-version: "11"
158-
distribution: "temurin"
163+
java-version: "21"
164+
distribution: "graalvm"
159165

160166
- name: Set up Gradle
161167
if: matrix.os_family != 'Linux'

docker/native-image/dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Use an old version of Ubuntu to build the test server to maintain compatibility with
22
# older versions of glibc, specifically glib 2.17.
33
FROM ubuntu:18.04
4-
ENV JAVA_HOME=/opt/java/openjdk
5-
COPY --from=eclipse-temurin:21 $JAVA_HOME $JAVA_HOME
4+
ENV JAVA_HOME=/usr/lib64/graalvm/graalvm-community-java21
5+
COPY --from=ghcr.io/graalvm/jdk-community:21 $JAVA_HOME $JAVA_HOME
66
ENV PATH="${JAVA_HOME}/bin:${PATH}"
77
RUN apt-get update
88
RUN apt-get install -y git build-essential zlib1g-dev

0 commit comments

Comments
 (0)