Skip to content

jjacobson93/graalvm-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graalvm-hello-world

GraalVM Hello World with Docker

Multi-stage build

This utilizes a multi-stage build to: (1) download GraalVM, (2) build the source, and (3) copy into a final minimal image. The resulting image for HelloWorld.java is 7MB.

In the build stage, the native-image CLI is used which compiles a class (or JAR) into a native executable which contains a embedded JVM called Substrate VM.

More information on ahead-of-time compilation in GraalVM can be found in the reference manual.

About

GraalVM Hello World with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published