File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
templates/jlink/jlink-builder Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ Try it out:
7
7
You need:
8
8
9
9
1 . Access to an OpenShift instance, such as crc
10
+ 2 . UBI9 OpenJDK ImageStreams. You can load them from this repository with
11
+
12
+ oc create -f templates/ubi9-community-image-streams.json
10
13
11
14
Steps to produce the imagestream and image:
12
15
13
- 1 . Switch to the openshift project and install the template
16
+ 1 . install the template
14
17
15
- oc project openshift
16
18
oc create -f templates/jlink/jlink-builder/jlink-builder-template.yaml
17
19
18
20
This will create a Template called jlink-builder-template, you should see
@@ -34,7 +36,7 @@ The template for now defines a single parameter, JDK_VERSION. Setting this will
34
36
35
37
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
36
38
37
- oc process -n openshift jlink-builder-template -p JDK_VERSION=11 | oc create -f -
39
+ oc process jlink-builder-template -p JDK_VERSION=11 | oc create -f -
38
40
39
41
imagestream.image.openshift.io/ubi9-openjdk-11-jlink created
40
42
buildconfig.build.openshift.io/jlink-builder-jdk-11 created
You can’t perform that action at this time.
0 commit comments