jboss-container-images / openjdk

Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK
Apache License 2.0
54 stars 58 forks source link

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

From https://access.redhat.com/containers/[Red Hat Container Catalog]

The UBI9-based OpenJDK images are available under the terms of the link:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI[UBI EULA].

link:https://access.redhat.com/documentation/en-us/openjdk/17[Red Hat provide Product documentation for customers]. Tables of environment variables used for image configuration are published to https://jboss-container-images.github.io/openjdk/. 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 https://docs.cekit.io/en/latest/handbook/installation/index.html[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 link:CONTRIBUTING.md[].

License

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