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
- Host: GitHub
- URL: https://github.com/danny02/graalvm-docker
- Owner: Danny02
- License: unlicense
- Created: 2018-04-19T19:14:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T20:53:33.000Z (about 7 years ago)
- Last Synced: 2025-04-18T12:19:16.753Z (about 1 year ago)
- Topics: docker-image, graalvm, java
- Language: Dockerfile
- Homepage:
- Size: 7.81 KB
- Stars: 13
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).
[](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
```