Skip to content

Java 9 and 10

Josh Graham edited this page Jun 7, 2017 · 1 revision

musl not glibc

Removing the extra bulk of glibc and having the JVM just link to musl (the Alpine / busybox native C library) is a time and size saver. I'm currently working with the OpenJDK Portola project and have successfully used my Alpine Java 8 JDK (with glibc) image to bootstrap build an Alpine Java 10 JDK (with musl).

Jigsaw

With Jigsaw comes a lot of options to make even smaller Java containers for Docker. This will probably mean this image becomes as much a build-time component (removing unused modules based on each Java application) as a runtime one.

Lots of research going on here.

No operating system

When initially discussing this project with Brian Goetz and Georges Saab, the (over-the-horizon) potential to remove the container OS (Alpine) and even for the JVM to implement the dockerd interfaces was raised.

I suspect this won't even be a thing until 2020 ;-)

Clone this wiki locally