We are happy to announce the release of Liberica JDK container images for Rocky Linux! These images are aimed at substituting Liberica JDK images for CentOS. As CentOS Stream 8 reached end-of-live on May 31, 2024, we have decided to provide the developers with an alternative set of OCI container images for Java applications based on an actively developed and community-supported Linux distribution.
Rocky Linux is a popular distro designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux (RHEL). Rocky Linux rebuilds sources directly from RHEL; the builds are enterprise-ready. The release schedule is aligned with that of RHEL, when new major releases come out every May, and minor releases see the light every May and November.
Note that with the availability of Liberica JDK images for Rocky Linux, BellSoft’s images for CentOS are considered deprecated. But if you have been using CentOS base images, you can smoothly migrate to Rocky.
There are two repositories with JVM images for Rocky Linux: with Liberica JDK and Liberica JRE. Both repositories contain images for LTS JDK versions (8, 11, 17, 21) and the latest non-LTS version (23 currently) for x86_64 and Aarch64 architectures. In addition, there are images with a pre-packaged CDS archive aimed at reducing Java application startup.
The image names have the following structure: X-Y
, where X
is the Java version and Y
is the architecture type. Images with a CDS archive are additionally tagged with cds
. If no architecture is specified, images for x86_64 are used by default.
For instance, to build an application with Liberica JDK 21 for Rocky Linux on x86_64, use the following FROM instruction in your Dockerfile:
FROM bellsoft/liberica-openjdk-rocky:21