zalando-stups / docker-openjdk

DEPRECATED: Docker image with OpenJDK and Zalando CA
21 stars 14 forks source link

OpenJDK 10/11 #20

Open hjacobs opened 6 years ago

hjacobs commented 6 years ago

OpenJDK 10/11 is part of Ubuntu 18.04 LTS ("bionic"): https://packages.ubuntu.com/bionic/openjdk-11-jdk

See also the update to 18.04: https://github.com/zalando-stups/docker-ubuntu/pull/22

I propose making OpenJDK 10/11 the default for this Docker base image (without changing its name).

aermakov-zalando commented 6 years ago

It might break a lot of applications that still rely on private APIs (like sun.misc.Unsafe). I would suggest to publish a separate image for testing first, because the migration path might be non-trivial (or impossible if applications rely on unsupported libraries).

hjacobs commented 6 years ago

@aermakov-zalando yes, I think for migration purposes it makes sense to gradually release with a new name, but mid-term I would change the default (people can always pin their version to a known good Docker image tag).

kgalli commented 6 years ago

@hjacobs will Java 11 be soon available? Any further plan if it will be the default or like suggested a separate image. Would like to start migration process as soon as possible. Can even create the necessary PR just need to know which direction is preferred.

Jan-M commented 6 years ago

:+1: for another image name with the new major version of Java.

harti2006 commented 6 years ago

Since Java 10 there, the JVM is aware of running in (Docker) containers. This is extremely useful for applications running on Kubernetes to not get OOMKilled every couple of minutes.

AlexanderYastrebov commented 6 years ago

JDK-8186248 : Allow more flexibility in selecting Heap % of available RAM

lalib commented 5 years ago

@hjacobs @harti2006 Is there any plan or roadmap to support OpenJDK 11 ?

hjacobs commented 5 years ago

@lalib we don't actively work on it, if anybody wants to pick this up, feel free :smile:

irishshagua commented 5 years ago

@hjacobs I've opened a PR to add a JDK 11 build if you get a chance to review. I was hoping it would auto-trigger a build. Not sure if there is some other process for that 😕

vadeg commented 5 years ago

Hello,

Any updates on this?

hjacobs commented 5 years ago

@vadeg please look into our internal Zalando Developer Console and search for "jdk11", you will find a migration guide (which does not rely on this base Docker image anymore).

vadeg commented 5 years ago

@hjacobs thanks