Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

rayyildiz/docker-graalvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraalVM

Docker Pulls GitHub license

GraalVM Community Edition. More info

Link: https://hub.docker.com/r/rayyildiz/graalvm/

Current java : Latest version : 19.3.0

Tags:

  • 19.0.0
  • 19.0.2
  • 19.0.2-slim
  • 19.1.0
  • 19.1.0
  • 19.1.1
  • 19.2.0
  • slim (19.3.0)
  • latest ( 19.3.0 )

Usage

Print java version: docker run rayyildiz/graalvm java -version

Compile Java file docker run $PWD:/src rayyildiz/graalvm javac HelloWorld.java

Run Java file docker run $PWD:/src rayyildiz/graalvm java HelloWorld (After compile)

Create a native image docker run $PWD:/src rayyildiz/graalvm native-image HelloWorld (After compile)

public class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello World");
  }
}

License