GraalVM is the new Java compiler backend. This Docker Image helps experimenting with native images.
Build the image first:
docker build -t graalvm .
Mount the current directory:
docker run --rm -it -v $(pwd):/app graalvm bash
Now run the following commands:
cd app
javac HelloWorld.java
native-image HelloWorld
Content type
Image
Digest
Size
286.4 MB
Last updated
over 8 years ago
docker pull vletal/graalvm-docker