An Ubuntu-based GraalVM image allowing GraalVM binaries to be run as container commands.
162
The easiest way to use GraalVM is to execute the provided helper script graalvm.sh with any GraalVM command.
./graalvm.sh js
The above command will start an interactive JS shell, but of course any other GraalVM binary can be executed the same
way, simply replace js with whatever other binary you want to execute.
The necessary Docker Image (see below) will automatically be pulled or build (should pulling fail) and started in order to execute the GraalVM command.
docker has to be in PATHgraalvm.sh needs to be executed with a user having Docker-privilegesThe provided Dockerfile can be used to build an Ubuntu-based GraalVM Docker Image.
docker build -t baristi/graalvm .
Once built, GraalVM binaries can be executed like this:
docker run --rm -ti baristi/graalvm js
The above command will start an interactive JS shell, but of course any other GraalVM binary can be executed the same
way, simply replace js with whatever other binary you want to execute.
Content type
Image
Digest
Size
269.2 MB
Last updated
about 8 years ago
docker pull baristi/graalvm