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 flavor as base container image #253

Closed
XhstormR opened this issue Aug 8, 2023 · 4 comments
Closed

Add GraalVM flavor as base container image #253

XhstormR opened this issue Aug 8, 2023 · 4 comments

Comments

@XhstormR
Copy link

XhstormR commented Aug 8, 2023

It would be great if we have gradle image with GraalVM.

FYI:
https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-20.0.2
https://github.com/graalvm/container

@XhstormR XhstormR changed the title Add GraalVM flavor as base container Add GraalVM flavor as base container image Aug 8, 2023
@keeganwitt
Copy link
Owner

Forgive the ignorance (I'm not a Graal user), but isn't Graal only needed for runtime and not build time?

Another challenge I'd have for implementing this request is that as an official image, I'm only allowed to extend other official images, and I don't see one for Graal.

@XhstormR
Copy link
Author

XhstormR commented Aug 8, 2023

@keeganwitt According to this PR oracle/graal#5995 , Native Image is now shipped as part of the GraalVM JDK and thus no longer needs to be installed via gu install native-image. So we can use native-image tools to directly convert the jar file into a native executable file after the gradle build is complete.

@keeganwitt
Copy link
Owner

keeganwitt commented Aug 8, 2023

Adding link here for posterity: the idea of an official GraalVM image was rejected previously.
docker-library/official-images#10936

I'm discussing with the Docker Library folks whether my installing GraalVM in an official Gradle image would be problematic.

@keeganwitt
Copy link
Owner

Official images PR: docker-library/official-images#15196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants