An open API service indexing awesome lists of open source software.

https://github.com/danny02/graalvm-docker

Simple Docker Image for trying out GraalVM
https://github.com/danny02/graalvm-docker

docker-image graalvm java

Last synced: about 1 year ago
JSON representation

Simple Docker Image for trying out GraalVM

Awesome Lists containing this project

README

          

# GraalVM Docker Image
[GraalVM](http://www.graalvm.org/) is the new Java compiler backend. This Docker Image helps experimenting with [native images](http://www.graalvm.org/docs/getting-started/#native-images).

[![asciicast](https://asciinema.org/a/aVDt2rbrtWnH4rVENZxTl9t3T.png)](https://asciinema.org/a/aVDt2rbrtWnH4rVENZxTl9t3T)

## Usage
Use the [prebuild image](https://hub.docker.com/r/danny02/graalvm/).

Mount the current directory:

`docker run --rm -it -v $(pwd):/app danny02/graalvm bash`

Now run the following commands:
```bash
cd app
javac HelloWorld.java
native-image HelloWorld
```