@@ -16,11 +16,11 @@ prepare UBI9 OpenJDK ImageStreams with `jlink-dev` support.
1616 repository] ( https://github.com/jboss-container-images/openjdk ) ,
1717 branch ` jlink-dev ` . e.g.
1818
19- cekit --descriptor ubi9-openjdk-17 .yaml build docker
19+ cekit --descriptor ubi9-openjdk-21 .yaml build docker
2020
21212 . Within your OpenShift project,
2222
23- oc create imagestream ubi9- openjdk-17
23+ oc create imagestream openjdk-${JDK_VERSION}-jlink-tech-preview
2424
25253 . You may need to configure your container engine to not TLS-verify the OpenShift
2626 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.
37375 . tag and push the dev image into it. The OpenShift console gives you the
3838 exact URI for your instance
3939
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
4242
4343## Stage 1: Load the template into OpenShift and instantiate it
4444
@@ -52,14 +52,14 @@ Process it to create the needed objects. You can list the parameters using
5252
5353Some suitable test values for the parameters are
5454
55- * JDK_VERSION: 17
55+ * JDK_VERSION: 21
5656 * APP_URI: https://github.com/jboss-container-images/openjdk-test-applications
5757 * REF: master
5858 * CONTEXT_DIR: quarkus-quickstarts/getting-started-3.9.2-uberjar
5959 * APPNAME: quarkus-quickstart
6060
6161 oc process \
62- -p JDK_VERSION=17 \
62+ -p JDK_VERSION=21 \
6363 -p APP_URI=https://github.com/jboss-container-images/openjdk-test-applications \
6464 -p REF=master \
6565 -p CONTEXT_DIR=quarkus-quickstarts/getting-started-3.9.2-uberjar \
0 commit comments