Skip to content

Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK

License

Notifications You must be signed in to change notification settings

rh-openjdk/redhat-openjdk-containers

Repository files navigation

Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK

These are the OpenJDK Source to Image (S2I) images for Red Hat OpenShift.

Acquiring the Images

The UBI9-based OpenJDK images are available under the terms of the UBI EULA.

Red Hat provide Product documentation for customers. Tables of environment variables used for image configuration are published to https://rh-openjdk.github.io/redhat-openjdk-containers/. These tables are automatically updated for every tagged release, and every commit to the development branches.

Older RHEL7 and RHEL8-based image sources are in the rhel7 and ubi8 branches respectively.

How to build the images

You need to install Cekit to build these images.

These sources are prepared and tested for Cekit 4.1.1.

Red Hat Universal Base Image 9 versions

Red Hat Universal Base Image 9 with OpenJDK 11

cekit --descriptor ubi9-openjdk-11.yaml build podman

This will produce an image named ubi9/openjdk-11.

Red Hat Universal Base Image 9 with OpenJDK 17

cekit --descriptor ubi9-openjdk-17.yaml build podman

This will produce an image named ubi9/openjdk-17.

Red Hat Universal Base Image 9 with OpenJDK 11 - Runtime

cekit --descriptor ubi9-openjdk-11-runtime.yaml build podman

This will produce an image named ubi9/openjdk-11-runtime.

Red Hat Universal Base Image 9 with OpenJDK 17 - Runtime

cekit --descriptor ubi9-openjdk-17-runtime.yaml build podman

This will produce an image named ubi9/openjdk-17-runtime.

Contributing

We welcome contributions! For patches, a Developer Certificate of Origin (DCO) is required. See CONTRIBUTING.md.

License

© 2022 Red Hat, Inc. Distributed under the terms of the Apache License, Version 2.0. See LICENSE file.