OL docker container base alignment
Hi,
Our company extends the following images
- icr.io/appcafe/open-liberty:25.0.0.1-kernel-slim-java8-openj9-ubi
- icr.io/appcafe/open-liberty:25.0.0.1-kernel-slim-java17-openj9-ubi
- icr.io/appcafe/open-liberty:25.0.0.1-kernel-slim-java21-openj9-ubi-minimal
Currently, we have to use split logic to handle extending the images for java8 and java17 versus the image from java21, here's why:
25.0.0.1-kernel-slim-java8-openj9-ubiand25.0.0.1-kernel-slim-java17-openj9-ubiare based on UBI8 -- additionally,minimalimages for those 2 do not exist25.0.0.1-kernel-slim-java21-openj9-ubi-minimalis based on UBI9
Is there a specific reason that the java8 and java17 images are not being moved to UBI9 (and minimal images are not available)?
If not for my use case, then please consider it for having to troubleshoot less behavioral issues / reproducibility reasons because this divergence means running on a completely different set of packages.
@faandg Thank you for reaching out. UBI minimal is our strategic choice, hence we chose UBI 9 minimal when adding Liberty images with Java 21 last year. Due to FIPS compliance reasons, the Liberty images based on Java 8, 11, and 17 images need to stay with the UBI 8 standard. Hence, the naming difference you pointed out. We are considering adding UBI 9 minimal images for the other Java versions, which should remove the difference. We don't have concrete timelines to share at this time, but new images once available will be documented in the list of images: https://github.com/OpenLiberty/ci.docker/blob/main/docs/icr-images.md#latest-version
I know of cases where ubi8-based images have not been able to be used because the security scan quality thresholds for images have not been met. This is mainly due to the installed Python version. However, with ubi9-based images this problem does not occur. It would be a great help in my case if all images were built from ubi9.
UBI 9 minimal based Liberty images with Semeru 17/11/8 JRE and IBM Java 8 JRE are now added, starting with 25.0.0.4. They follow a similar naming to the Liberty images with Semeru 21.
- Liberty container images: https://openliberty.io/docs/latest/container-images.html
- See the full list of image tags at https://github.com/OpenLiberty/ci.docker/blob/main/docs/icr-images.md#latest-version
These are perfect, thanks! We were able to remove all of the split logic and build every image the same way.