/openjdk

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

Primary LanguageShellApache License 2.0Apache-2.0

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.

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.