@@ -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 ubi9-openjdk-21-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 :1.18 default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9-openjdk-21-jlink-tech-preview :1.18
41
+ docker push default-route-openshift-image-registry.apps-crc.testing/jlink1/ubi9-openjdk-21 :1.18
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 \
@@ -77,8 +77,8 @@ See all the OpenShift objects that were created:
77
77
78
78
There will be three BuildConfigs, called something like
79
79
80
- 1 . jlink-builder-jdk-17
81
- 2 . jlink-s2i-jdk-17
80
+ 1 . jlink-builder-jdk-21
81
+ 2 . jlink-s2i-jdk-21
82
82
3 . multistage-buildconfig
83
83
84
84
Start a build for (1). Once complete, builds for (2) and (3) should be
0 commit comments