@@ -16,11 +16,11 @@ prepare UBI9 OpenJDK ImageStreams with `jlink-dev` support.
16
16
repository] ( https://github.com/jboss-container-images/openjdk ) ,
17
17
branch ` jlink-dev ` . e.g.
18
18
19
- cekit --descriptor ubi9-openjdk-17 .yaml build docker
19
+ cekit --descriptor ubi9-openjdk-21 .yaml build docker
20
20
21
21
2 . Within your OpenShift project,
22
22
23
- oc create imagestream ubi9- openjdk-17
23
+ oc create imagestream openjdk-${JDK_VERSION}-jlink-tech-preview
24
24
25
25
3 . You may need to configure your container engine to not TLS-verify the OpenShift
26
26
registry. For Docker, add the following to ` /etc/docker/daemon.json ` and restart
@@ -37,8 +37,8 @@ prepare UBI9 OpenJDK ImageStreams with `jlink-dev` support.
37
37
5 . tag and push the dev image into it. The OpenShift console gives you the
38
38
exact URI for your instance
39
39
40
- docker tag ubi9 /openjdk-17:1.18 default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9- openjdk-17:1.18
41
- docker push default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9- openjdk-17:1.18
40
+ docker tag openjdk-tech-preview /openjdk-21-jlink-rhel9:latest default-route-openshift-image-registry.apps-crc.testing/jlink1/openjdk-21-jlink-tech-preview:latest
41
+ docker push default-route-openshift-image-registry.apps-crc.testing/jlink1/openjdk-21-jlink-tech-preview:latest
42
42
43
43
## Stage 1: Load the template into OpenShift and instantiate it
44
44
@@ -52,14 +52,14 @@ Process it to create the needed objects. You can list the parameters using
52
52
53
53
Some suitable test values for the parameters are
54
54
55
- * JDK_VERSION: 17
55
+ * JDK_VERSION: 21
56
56
* APP_URI: https://github.com/jboss-container-images/openjdk-test-applications
57
57
* REF: master
58
58
* CONTEXT_DIR: quarkus-quickstarts/getting-started-3.9.2-uberjar
59
59
* APPNAME: quarkus-quickstart
60
60
61
61
oc process \
62
- -p JDK_VERSION=17 \
62
+ -p JDK_VERSION=21 \
63
63
-p APP_URI=https://github.com/jboss-container-images/openjdk-test-applications \
64
64
-p REF=master \
65
65
-p CONTEXT_DIR=quarkus-quickstarts/getting-started-3.9.2-uberjar \
0 commit comments