@@ -11,11 +11,12 @@ DISCLAIMER: This template requires OpenShift to be able to resolve ImageStreams,
11
11
12
12
## Stage 0: UBI9 OpenJDK ImageStreams with jlink-dev changes
13
13
14
- Until the ` jlink-dev ` work is merged, prior to trying out the template , we must first
15
- prepare UBI9 OpenJDK ImageStreams with ` jlink-dev ` support.
14
+ Whilst the ` jlink-dev ` feature is in Tech Preview , we must prepare separate
15
+ UBI9 OpenJDK ImageStreams with ` jlink-dev ` support.
16
16
17
- 1 . Build a suitable OpenJDK container image from [ this
18
- repository] ( https://github.com/jboss-container-images/openjdk ) ,
17
+ 1 . Obtain a suitable OpenJDK container image with Jlink integration.
18
+ Either download [ the Tech Preview Image] ( https://catalog.redhat.com/software/containers/openjdk-tech-preview/openjdk-21-jlink-rhel9/678e61ffd77a3837d6962f3f? ) ,
19
+ or build your own from [ this repository] ( https://github.com/jboss-container-images/openjdk ) ,
19
20
branch ` jlink-dev ` . e.g.
20
21
21
22
cekit --descriptor ubi9-openjdk-21.yaml build podman
@@ -36,10 +37,20 @@ prepare UBI9 OpenJDK ImageStreams with `jlink-dev` support.
36
37
"insecure-registries": [ "default-route-openshift-image-registry.apps-crc.testing" ]
37
38
}
38
39
40
+ For podman, add the following to ` ~/.config/containers/registries.conf ` :
41
+
42
+ [[registry]]
43
+ location = "default-route-openshift-image-registry.apps-crc.testing"
44
+ insecure = true
45
+
39
46
5 . Log into the OpenShift registry, e.g.
40
47
41
48
REGISTRY_AUTH_PREFERENCE=docker oc registry login
42
49
50
+ or
51
+
52
+ oc registry login
53
+
43
54
6 . tag and push the dev image into it. The OpenShift console gives you the
44
55
exact URI for your instance
45
56
0 commit comments