Looks like Red Hat "forgot" to migrate the OpenJDK 17 packages into the UBI package repository.
# docker run -it --rm registry.access.redhat.com/ubi8-minimal:8.5 microdnf -y --refresh install java-17-openjdk-headless (microdnf:1): librhsm-WARNING **: 08:44:52.262: Found 0 entitlement certificates (microdnf:1): librhsm-WARNING **: 08:44:52.263: Found 0 entitlement certificates Downloading metadata... Downloading metadata... Downloading metadata... error: No package matches 'java-17-openjdk-headless' # docker run -it --rm registry.access.redhat.com/ubi8-minimal:8.6 microdnf -y --refresh install java-17-openjdk-headless (microdnf:1): librhsm-WARNING **: 08:45:26.801: Found 0 entitlement certificates (microdnf:1): librhsm-WARNING **: 08:45:26.802: Found 0 entitlement certificates Downloading metadata... Downloading metadata... Downloading metadata... error: No package matches 'java-17-openjdk-headless'
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.