You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will create a Template called jlink-builder-template, you should see
19
19
20
-
template.template.openshift.io/jlink-builder-template created
20
+
template.template.openshift.io/jlink-builder-template created
21
21
22
22
and after running oc get template, it should be in the list as
23
23
24
-
jlink-builder-template Template to produce an imagestream and buildconfig for a Jlink builder image 1 (all set) 2
24
+
jlink-builder-template Template to produce an imagestream and buildconfig for a Jlink builder image 1 (all set) 2
25
25
26
26
2. Set the parameters and create the imagestream and buildconfig from the template.
27
27
28
28
The template for now defines a single parameter, JDK_VERSION. Setting this will set the version of the builder image used in the BuildConfig. Currently suppoted values are 11, 17, and 21. By default this will be 11.
29
29
30
-
oc process --parameters jlink-builder-template
31
-
32
-
NAME DESCRIPTION GENERATOR VALUE
33
-
JDK_VERSION JDK version to produce a jmods image for 11
30
+
oc process --parameters jlink-builder-template
31
+
32
+
NAME DESCRIPTION GENERATOR VALUE
33
+
JDK_VERSION JDK version to produce a jmods image for 11
34
34
35
35
In order to set the JDK version, you will need to use the -p flag of oc process. To process the template and create the imagestreams, simply run
0 commit comments