docker-library / openjdk

Docker Official Image packaging for EA builds of OpenJDK from Oracle
http://openjdk.java.net
MIT License
1.14k stars 471 forks source link

openJDK 17 - Alpine #481

Closed ryantheleach closed 2 years ago

ryantheleach commented 2 years ago

Apologies if this is the wrong place, but I was having troubles finding the right place.

https://hub.docker.com/layers/openjdk/library/openjdk/17-alpine/images/sha256-a996cdcc040704ec6badaf5fecf1e144c096e00231a29188596c784bcf858d05?context=explore

Appears to be running an outdated version of Java 17, which is having an effect on consumers.

https://openjdk.java.net/projects/jdk/17/ lists openJDK 17 reaching General Availability on 2021/09/14

But the image linked hasn't been updated in 6 months, and is running an early access version, missing parts of the final JRE 17.

This is likely to have a very large ripple effect in the coming months, for running Minecraft 1.18.1 on alpine images, which is popular among Minecraft Hosting Networks.

Again apologies if this isn't the right method of contact, there appeared to be no apt way to contact a publisher of a docker tag/image.

wglambert commented 2 years ago

Alpine is only available on early-access releases, once it reaches GA Alpine goes away

See https://github.com/docker-library/openjdk/issues/272

ryantheleach commented 2 years ago

Thanks for the help! I wish this caveat was clearer on the docker hub site.

yosifkit commented 2 years ago

It is on the Docker Hub description (src):

openjdk:<version>-alpine

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

The OpenJDK port for Alpine is not in a supported release by OpenJDK, since it is not in the mainline code base. It is only available as early access builds of OpenJDK Project Portola. See also this comment. So this image follows what is available from the OpenJDK project's maintainers.

What this means is that Alpine based images are only released for early access release versions of OpenJDK. Once a particular release becomes a "General-Availability" release, the Alpine version is dropped from the "Supported Tags"; they are still available to pull, but will no longer be updated.