Graal: Alpine Linux based GraalVM Docker image

Created on 27 Nov 2019  路  5Comments  路  Source: oracle/graal

Hey, I want to use GraalVM but not the native image, just normal JIT mode.

I was searching for a Docker image for GraalVM and I saw the official one. https://hub.docker.com/r/oracle/graalvm-ce/tags

The problem is Docker image's size is about 450 MB. But for OpenJDK, I could find a Docker image based on Alpine Linux and size is around 50 MB.

Is there any plan to create the GraalVM Docker image based on Alpine Linux instead of Oracle Linux?

Most helpful comment

@jwulf Basically that's not running JDK on alpine/musl. he's adding glibc alpine package! porting JVM to musl is still a WIP

All 5 comments

So, I can assume that there is no plan for this. 馃槃

We'd first need to ensure we can run the JDK on alpine (JDK 8 and JDK 11).
We need to figure out the necessary patches for 8 and 11 to run on musl-based distributions (from portola / icedtea / zulu probably) and make separate builds.

@jwulf Basically that's not running JDK on alpine/musl. he's adding glibc alpine package! porting JVM to musl is still a WIP

Liberica JDK runs on alpine/musl. They have 8 and 11 among others:
https://bell-sw.com/pages/downloads/?os=Linux&bitness=64-bit&architecture=x86-musl&package=jdk

Was this page helpful?
0 / 5 - 0 ratings