Skip to content

Commit ec940f9

Browse files
cleanup
1 parent ac15dd6 commit ec940f9

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/build-native-image.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ jobs:
6060
if: matrix.os_family != 'Linux'
6161
uses: actions/setup-java@v4
6262
with:
63-
java-version: |
64-
21
65-
23
63+
java-version: 23
6664
distribution: "graalvm"
6765

6866
- name: Set up Gradle

docker/native-image-musl/dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Use an old version of Ubuntu to build the test server to maintain compatibility with
2-
# older versions of glibc, specifically glib 2.17.
1+
# This Dockerfile builds a GraalVM Native Image Test Server with musl support.
32
FROM ubuntu:24.04
43
ENV JAVA_HOME=/usr/lib64/graalvm/graalvm-community-java23
54
COPY --from=ghcr.io/graalvm/native-image-community:23 $JAVA_HOME $JAVA_HOME

docker/native-image/dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This Dockerfile builds a GraalVM Native Image Test Server with glibc support.
12
# Use an old version of Ubuntu to build the test server to maintain compatibility with
23
# older versions of glibc, specifically glib 2.17.
34
FROM ubuntu:18.04

temporal-sdk/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ dependencies {
5151
}
5252

5353
tasks.named('compileJava21Java') {
54+
// Gradle toolchains are too strict and require the JDK to match the specified version exactly.
55+
// This is a workaround to use a JDK 21+ compiler.
56+
//
57+
// See also: https://github.com/gradle/gradle/issues/16256
5458
if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)) {
5559
javaCompiler = javaToolchains.compilerFor {
5660
languageVersion = JavaLanguageVersion.of(21)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy