GraalVM docker container
What’s inside
The image is similar to openjdk
except,
of course, this one comes with Graal VM.
It also adds Git, Maven and libfontconfig1
.
Usage
Since GraalVM's binaries are on the $PATH
, you can invoke them. Or build a
derived image based on this.
$ docker run findepi/graalvm java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment (build 1.8.0_172-20180625212755.graaluser.jdk8u-src-tar-g-b11)
GraalVM 1.0.0-rc4 (build 25.71-b01-internal-jvmci-0.45, mixed mode)
… and for the polyglot image:
$ docker run -i findepi/graalvm:polyglot graalpython /dev/stdin <<<"print([42, 2**42])"
Please note: This Python implementation is in the very early stages, and can run little more than basic benchmarks at this point.
[42, 4398046511104]
License
- code in this repository -- see LICENSE
- pre-built container -- see https://github.com/oracle/graal#license