https://hub.docker.com/_/openjdk
We are using openjdk:11 to build the application.
As per above url, openjdk is deprecated. Need to use alternate image.
Is there deadline/end date for openjdk?
After that it will not work like that.
They won’t remove old images, but there won’t be updates for anything except Early Access builds.
Try using eclipse-temurin image. Pretty much works as-is.
rimelek
(Ákos Takács)
September 8, 2022, 12:39pm
3
opened 02:36PM - 09 Jun 22 UTC
closed 11:22PM - 01 Jul 22 UTC
Hi!
This is a heads-up that we are going to retire "[OpenJDK Project Builds](… https://adoptopenjdk.net/upstream.html)" for OpenJDK 11u and OpenJDK 8u. We plan to stop producing builds after the July 2022 CPU update (11.0.16 and 8u342 will be the last builds). Since we know that the docker library is using those for the `docker.io/library/openjdk:11` and `docker.io/library/openjdk:8` images, we wanted to give a heads-up that this is going to happen. Perhaps it would be best to remove the `11` and `8` tags (in October 2022, perhaps) as at that point these images would be out-of-date without recent security fixes. I see that the `docker.io/library/openjdk:17` tag points already to an outdated build (`17.0.2` over latest `17.0.3`).
We, Red Hat, have produced those builds as a service to the community for Linux x86_64, Linux aarch64 and Windows x86_64. Now with projects like [Eclipse Adoptium](https://projects.eclipse.org/projects/adoptium) which produce [Eclipse Temurin](https://adoptium.net/temurin/releases/) builds on a wider variety of platforms which are JCK tested there is a natural replacement for a vendor neutral OpenJDK build for the JDK 8 and JDK 11 code streams for the community to use. For the 17u code stream of the OpenJDK updates project the builds linked from the OpenJDK wiki are already Eclipse Temurin binaries and we'd like to make this consistent come October 2022.
Quote from the first post:
Perhaps it would be best to remove the 11
and 8
tags (in October 2022, perhaps )
Images are usually not removed as long as people are using it. In this case there was a statement about removing it “perhaps”. Do you know about a decision where they say it will not happen?
This comment on openjdk issue #495 seems to say that 8 and 11 are not affected.
rimelek
(Ákos Takács)
September 8, 2022, 5:34pm
5
That is something else I guess, since issue 495 was created in April 2022 and the comment was written then too.
I linked issue 505, which was created in June 2022 mentioning that those images might be removed.
I dug around, and you are right - the comment about “best to remove 8 and 11 images” is more recent.
So no guarantees, I guess.