1
1
# Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK
2
2
3
- These are the OpenJDK Source to Image (S2I) images for Red Hat OpenShift.
3
+ These are the OpenJDK Source to Image (S2I) images for the Red Hat
4
+ Universal Base Image (UBI), designed for use with Red Hat OpenShift.
4
5
5
6
## Acquiring the Images
6
7
@@ -11,21 +12,17 @@ link:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI[UBI
11
12
12
13
* link:https://catalog.redhat.com/software/containers/ubi8/openjdk-8/5dd6a48dbed8bd164a09589a[ubi8/openjdk-8]
13
14
* link:https://catalog.redhat.com/software/containers/ubi8/openjdk-11/5dd6a4b45a13461646f677f4[ubi8/openjdk-11]
14
-
15
- The RHEL7-based OpenJDK images require a Red Hat subscription:
16
-
17
- * link:https://catalog.redhat.com/software/containers/redhat-openjdk-18/openjdk18-openshift/58ada5701fbe981673cd6b10[redhat-openjdk-18/openjdk18-openshift]
18
- * link:https://catalog.redhat.com/software/containers/openjdk/openjdk-11-rhel7/5bf57185dd19c775cddc4ce5[openjdk/openjdk-11-rhel7]
15
+ * link:https://catalog.redhat.com/software/containers/ubi8/openjdk-17/618bdbf34ae3739687568813[ubi8/openjdk-17]
19
16
20
17
## How to build the images
21
18
22
19
You need to https://cekit.readthedocs.io/en/develop/installation.html[install Cekit] to build these images.
23
20
24
- These sources are prepared and tested for Cekit 3.6.0 .
21
+ These sources are prepared and tested for Cekit 4.1.1 .
25
22
26
23
For building within Red Hat, the instructions vary slightly, see link:redhat/README.adoc[].
27
24
28
- ## Red Hat Universal Base Image 8 versions
25
+ ## Builder images
29
26
30
27
### Red Hat Universal Base Image 8 with OpenJDK 8
31
28
@@ -39,22 +36,31 @@ This will produce an image named `ubi8/openjdk-8`.
39
36
40
37
This will produce an image named `ubi8/openjdk-11`.
41
38
42
- ## Red Hat Enterprise Linux 7 Image versions
39
+ ### Red Hat Universal Base Image 8 with OpenJDK 17
40
+
41
+ cekit --descriptor ubi8-openjdk-11.yaml build podman
42
+
43
+ This will produce an image named `ubi8/openjdk-17`.
44
+
45
+ ## Runtime images
46
+
47
+ ### Red Hat Universal Base Image 8 with OpenJDK 8 runtime
48
+
49
+ cekit --descriptor ubi8-openjdk-8-runtime.yaml build podman
43
50
44
- You will need an active Red Hat subscription on the host you use to
45
- build these images.
51
+ This will produce an image named `ubi8/openjdk-8-runtime`.
46
52
47
- ### RHEL 7 OpenJDK 8
53
+ ### Red Hat Universal Base Image 8 with OpenJDK 11 runtime
48
54
49
- cekit --descriptor openjdk18-openshift .yaml build podman
55
+ cekit --descriptor ubi8-openjdk-11-runtime .yaml build podman
50
56
51
- This will produce an image named `redhat- openjdk-8/openjdk18-openshift `.
57
+ This will produce an image named `ubi8/ openjdk-11-runtime `.
52
58
53
- ### RHEL 7 OpenJDK 11
59
+ ### Red Hat Universal Base Image 8 with OpenJDK 17 runtime
54
60
55
- cekit --descriptor openjdk-11-rhel7 .yaml build podman
61
+ cekit --descriptor ubi8- openjdk-11-runtime .yaml build podman
56
62
57
- This will produce an image named `openjdk /openjdk-11-rhel7 `.
63
+ This will produce an image named `ubi8 /openjdk-17-runtime `.
58
64
59
65
## Contributing
60
66
@@ -63,5 +69,5 @@ Origin (DCO) is required. See link:CONTRIBUTING.md[].
63
69
64
70
## License
65
71
66
- © 2020 Red Hat, Inc. Distributed under the terms of the Apache License,
72
+ © 2022 Red Hat, Inc. Distributed under the terms of the Apache License,
67
73
Version 2.0. See link:LICENSE[LICENSE] file.
0 commit comments