Update redhat java builder-images from out-of-support RHEL7 versions #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm the maintainer of the Red Hat OpenJDK container images. The two images of ours listed in builder-images.md are our earliest ones, based on RHEL7, which is in "extended maintenance phase 2" at the moment, and these images are no longer updated. Furthermore, although the images are publically accessible, this was a side-effect of the lack of support for authenticated registries in early tooling and they are not supported in any way without a redhat subscription (so e.g. package updates in downstream Dockerfiles would fail).
Instead I propose using the most recently available versions based on RHEL UBI 9, which offers JDK11 and 17. For completion's sake, include (as before) a JDK8 image, using RHEL UBI 8 (we don't provide a JDK8 image on RHEL9). All these images are in support, but they are also freely available under the UBI EULA, and do not require a redhat subscription to use.
This means replacing two images with three.