Skip to content

Commit 8b6d9fd

Browse files
committed
Revamp README and redhat/README
* remove rhel7 * add JDK17, runtime images * bump copyright year etc Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 518e846 commit 8b6d9fd

File tree

2 files changed

+44
-25
lines changed

2 files changed

+44
-25
lines changed

README.adoc

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Source To Image (S2I) image for Red Hat OpenShift providing OpenJDK
22

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.
45

56
## Acquiring the Images
67

@@ -11,21 +12,17 @@ link:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI[UBI
1112

1213
* link:https://catalog.redhat.com/software/containers/ubi8/openjdk-8/5dd6a48dbed8bd164a09589a[ubi8/openjdk-8]
1314
* 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]
1916

2017
## How to build the images
2118

2219
You need to https://cekit.readthedocs.io/en/develop/installation.html[install Cekit] to build these images.
2320

24-
These sources are prepared and tested for Cekit 3.6.0.
21+
These sources are prepared and tested for Cekit 4.1.1.
2522

2623
For building within Red Hat, the instructions vary slightly, see link:redhat/README.adoc[].
2724

28-
## Red Hat Universal Base Image 8 versions
25+
## Builder images
2926

3027
### Red Hat Universal Base Image 8 with OpenJDK 8
3128

@@ -39,22 +36,31 @@ This will produce an image named `ubi8/openjdk-8`.
3936

4037
This will produce an image named `ubi8/openjdk-11`.
4138

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
4350

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`.
4652

47-
### RHEL 7 OpenJDK 8
53+
### Red Hat Universal Base Image 8 with OpenJDK 11 runtime
4854

49-
cekit --descriptor openjdk18-openshift.yaml build podman
55+
cekit --descriptor ubi8-openjdk-11-runtime.yaml build podman
5056

51-
This will produce an image named `redhat-openjdk-8/openjdk18-openshift`.
57+
This will produce an image named `ubi8/openjdk-11-runtime`.
5258

53-
### RHEL 7 OpenJDK 11
59+
### Red Hat Universal Base Image 8 with OpenJDK 17 runtime
5460

55-
cekit --descriptor openjdk-11-rhel7.yaml build podman
61+
cekit --descriptor ubi8-openjdk-11-runtime.yaml build podman
5662

57-
This will produce an image named `openjdk/openjdk-11-rhel7`.
63+
This will produce an image named `ubi8/openjdk-17-runtime`.
5864

5965
## Contributing
6066

@@ -63,5 +69,5 @@ Origin (DCO) is required. See link:CONTRIBUTING.md[].
6369

6470
## License
6571

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,
6773
Version 2.0. See link:LICENSE[LICENSE] file.

redhat/README.adoc

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
For building the images internal to Red Hat, we vary the instructions
44
slightly.
55

6-
## Image versions
6+
## Builder images
77

88
### UBI 8 JDK 8
99

@@ -17,16 +17,29 @@ This will produce an image named `ubi8/openjdk-8`.
1717

1818
This will produce an image named `ubi8/openjdk-11`.
1919

20-
### RHEL 7 OpenJDK 8
20+
### UBI 8 OpenJDK 17
2121

22-
cekit --redhat --descriptor openjdk18-openshift.yaml --overrides-file redhat/openjdk18-openshift.yaml build podman
22+
cekit --redhat --descriptor ubi8-openjdk-17.yaml build --overrides-file redhat/ubi8-openjdk-17.yaml podman
2323

24-
This will produce an image named `redhat-openjdk-8/openjdk18-openshift`
24+
This will produce an image named `ubi8/openjdk-17`.
2525

26-
### RHEL 7 OpenJDK 11
26+
## Runtime images
2727

28-
cekit --redhat --descriptor openjdk-11-rhel7.yaml build --overrides-file redhat/openjdk-11-rhel7.yaml build podman
28+
### UBI 8 JDK 8 runtime
2929

30-
This will produce an image named `openjdk/openjdk-11-rhel7`
30+
cekit --redhat --descriptor ubi8-openjdk-8-runtime.yaml build --overrides-file redhat/ubi8-openjdk-8-runtime.yaml podman
3131

32+
This will produce an image named `ubi8/openjdk-8-runtime`.
33+
34+
### UBI 8 OpenJDK 11 runtime
35+
36+
cekit --redhat --descriptor ubi8-openjdk-11-runtime.yaml build --overrides-file redhat/ubi8-openjdk-11-runtime.yaml podman
37+
38+
This will produce an image named `ubi8/openjdk-11-runtime`.
39+
40+
### UBI 8 OpenJDK 17 runtime
41+
42+
cekit --redhat --descriptor ubi8-openjdk-17-runtime.yaml build --overrides-file redhat/ubi8-openjdk-17-runtime.yaml podman
43+
44+
This will produce an image named `ubi8/openjdk-17-runtime`.
3245

0 commit comments

Comments
 (0)