|
| 1 | +# Red Hat UBI OpenJDK container images |
| 2 | + |
| 3 | +These are the Red Hat Universal Base Image (UBI) OpenJDK container images, |
| 4 | +suitable for use with OpenShift Container Platform. |
| 5 | + |
| 6 | +→ [API Docs](https://rh-openjdk.github.io/redhat-openjdk-containers/) |
| 7 | + |
| 8 | +## Acquiring the Images |
| 9 | + |
| 10 | +### From [Red Hat Container Catalog](https://catalog.redhat.com/en): |
| 11 | + |
| 12 | +_Make sure you are viewing the most recent tag for each container_. |
| 13 | + |
| 14 | +* [ubi10/openjdk-25](https://catalog.redhat.com/software/containers/ubi10/openjdk-25/690ca440f43a9c6b120b2970?image=6a1789a7b0f39e62fd2fe614) |
| 15 | +* [ubi10/openjdk-21](https://catalog.redhat.com/software/containers/ubi10/openjdk-21/690ca3318f730aed0b1497fd?image=6a1789a84539c58e9ccddc58) |
| 16 | +* [ubi10/openjdk-25-runtime](https://catalog.redhat.com/software/containers/ubi10/openjdk-25-runtime/690ca3e4c827022925ed2db5?image=6a1789a2c84ec7f9491c341a) |
| 17 | +* [ubi10/openjdk-21-runtime](https://catalog.redhat.com/software/containers/ubi10/openjdk-21-runtime/690ca3b700d71ac7397b98c6?image=6a1789a4e30e09c84ec6c7e7) |
| 18 | + |
| 19 | +The UBI10-based OpenJDK images are available under the terms of the [UBI |
| 20 | +EULA](https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI). |
| 21 | + |
| 22 | +[Red Hat provide Product documentation for |
| 23 | +customers](https://access.redhat.com/documentation/en-us/openjdk/25). |
| 24 | +Tables of environment variables used for image configuration are |
| 25 | +published to <https://rh-openjdk.github.io/redhat-openjdk-containers/>. |
| 26 | +These tables are automatically updated for every tagged release, and |
| 27 | +every commit to the development branches. |
| 28 | + |
| 29 | +Sources for older RHEL-based images are in the `ubi9`, `ubi8` and |
| 30 | +`rhel7` |
| 31 | +branches respectively. |
| 32 | + |
| 33 | +## How to build the images |
| 34 | + |
| 35 | +You need to [install |
| 36 | +Cekit](https://docs.cekit.io/en/latest/handbook/installation/index.html) |
| 37 | +to build these images. |
| 38 | + |
| 39 | +These sources are prepared and tested for CeKit 4.16.0. |
| 40 | + |
| 41 | +Example invocation to build `ubi10/openjdk-25` (substitute the image |
| 42 | +YAML for other versions): |
| 43 | + |
| 44 | + cekit --descriptor ubi10-openjdk-25.yaml build podman |
| 45 | + |
| 46 | +This will produce an image named `ubi10/openjdk-25`. |
| 47 | + |
| 48 | +## Contributing |
| 49 | + |
| 50 | +We welcome contributions! For patches, a Developer Certificate of Origin |
| 51 | +(DCO) is required. See [CONTRIBUTING.md](CONTRIBUTING.md). |
| 52 | + |
| 53 | +## License |
| 54 | + |
| 55 | +© 2026 Red Hat, Inc. Distributed under the terms of the Apache License, |
| 56 | +Version 2.0. See [LICENSE](LICENSE) file. |
0 commit comments