Skip to content

Commit 9ab88ac

Browse files
committed
[OPENJDK-3686] update jlink README with RHEC link, customer focus
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent d4479a7 commit 9ab88ac

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

templates/jlink/README.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ DISCLAIMER: This template requires OpenShift to be able to resolve ImageStreams,
1111

1212
## Stage 0: UBI9 OpenJDK ImageStreams with jlink-dev changes
1313

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.
1616

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),
1920
branch `jlink-dev`. e.g.
2021

2122
cekit --descriptor ubi9-openjdk-21.yaml build podman
@@ -36,10 +37,20 @@ prepare UBI9 OpenJDK ImageStreams with `jlink-dev` support.
3637
"insecure-registries": [ "default-route-openshift-image-registry.apps-crc.testing" ]
3738
}
3839

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+
3946
5. Log into the OpenShift registry, e.g.
4047

4148
REGISTRY_AUTH_PREFERENCE=docker oc registry login
4249

50+
or
51+
52+
oc registry login
53+
4354
6. tag and push the dev image into it. The OpenShift console gives you the
4455
exact URI for your instance
4556

0 commit comments

Comments
 (0)