Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GraalVM for JDK 21 Community 21.0.0 #251

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class GraalVMModule extends AbstractModule {
&& rm -Rf %s""";

private static final String NEW_TEMPLATE = """
tar xzf %s -C /opt \\
&& mv /opt/graalvm-community-openjdk-%s* /opt/graalvm \\
mkdir -p /opt/graalvm \\
&& tar xzf %s -C /opt/graalvm --strip-components=1 \\
cescoffier marked this conversation as resolved.
Show resolved Hide resolved
&& rm -Rf %s""";
private final String graalvmVersion;

Expand Down Expand Up @@ -78,7 +78,6 @@ public List<Command> commands(BuildContext bc) {
} else {
script = NEW_TEMPLATE.formatted(
"/tmp/" + artifact.name, // tar
graalvmVersion,
"/tmp/" + artifact.name); // rm
}

Expand Down
9 changes: 9 additions & 0 deletions quarkus-graalvm-builder-image/graalvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ images:
sha: 941a85a690e7b1c4e1fcfac321561ca46033bba3ac4882dd15d4f45edd06726c
- arch: arm64
sha: 6022709c124191da5087d0b0c62c3246943b3d5a386717c8d1af593637217028

# https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-21.0.0
- java-version: 21.0.0
tags: jdk-21
variants:
- arch: amd64
sha: 6c422941ccc58be5b891bb6499feeb72cd2b74d6729a29bf1fb8cc1a7d58b319
- arch: arm64
sha: bb4e92cf7eae91e474061aeae5ae75053a65cd558dbee76947827bf54d1b30a5
9 changes: 9 additions & 0 deletions quarkus-native-s2i/graalvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ images:
- arch: arm64
sha: 6022709c124191da5087d0b0c62c3246943b3d5a386717c8d1af593637217028

# https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-21.0.0
- java-version: 21.0.0
tags: jdk-21
variants:
- arch: amd64
sha: 6c422941ccc58be5b891bb6499feeb72cd2b74d6729a29bf1fb8cc1a7d58b319
- arch: arm64
sha: bb4e92cf7eae91e474061aeae5ae75053a65cd558dbee76947827bf54d1b30a5

- graalvm-version: 22.3.3
java-version: 11
tag: 22.3-java11
Expand Down
Loading