docker-library / openjdk

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

Update to version X on base os Y #272

Open yosifkit opened 5 years ago

yosifkit commented 5 years ago

Since we consume OpenJDK mainly from upstream or trusted/TCK tested binaries, here's a list of what can be updated and how.

Most version updates are handled automatically by update.sh run via Jenkins (see README for last build status). OS distribution bumps are handled via an update to the corresponding template files in the root. We will be unlikely to move to Debian testing, Debian Sid or Alpine Edge, since all of these are "unstable" distributions.


Related issues: #150 #211 #245 #271

tianon commented 5 years ago

This is going to need some updates after https://github.com/docker-library/openjdk/pull/322. :sweat_smile:

robilad commented 4 years ago

Fwiw, I don't think that the reasons section in the dockerfile quoted above is still accurate, since no distro builds are used any more.

adamu commented 4 years ago

This comment seems out of date. Came here looking for info on whether we can expect JDK 14 running on alpine 3.12 (like JDK 15 is).

wglambert commented 4 years ago

Looks like JDK 15 no longer offers Alpine https://github.com/docker-library/openjdk/commit/cf6e35621136640016768baec9d3ba015fc1f507

JDK 14 also dropped Alpine back in February, the pattern is that Alpine is available during the early-access builds but has historically been dropped when the version reaches General Availability, presumably due to lack of sufficient testing

So currently the only version that supports Alpine right now is JDK 16 and it's on Alpine 3.12 https://github.com/docker-library/openjdk/pull/423

adamu commented 4 years ago

Thanks @wglambert.

A little difficult to follow - looks like it may be better to just avoid the Alpine images.