Skip to content

Commit c5f2d6f

Browse files
authored
Merge branch 'jlink-dev' into jlink-README-RHEC
2 parents 9ab88ac + 772179b commit c5f2d6f

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

templates/jlink/README.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@ DISCLAIMER: This template requires OpenShift to be able to resolve ImageStreams,
1414
Whilst the `jlink-dev` feature is in Tech Preview, we must prepare separate
1515
UBI9 OpenJDK ImageStreams with `jlink-dev` support.
1616

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),
17+
1. Pull the Tech-Preview image
18+
19+
podman pull registry.access.redhat.com/openjdk-tech-preview/openjdk-21-jlink-rhel9:latest
20+
podman tag registry.access.redhat.com/openjdk-tech-preview/openjdk-21-jlink-rhel9:latest \
21+
openjdk-tech-preview/openjdk-21-jlink-rhel9:latest
22+
23+
OR
24+
25+
1. Build a suitable OpenJDK container image from [this
26+
repository](https://github.com/jboss-container-images/openjdk),
2027
branch `jlink-dev`. e.g.
2128

2229
cekit --descriptor ubi9-openjdk-21.yaml build podman
@@ -70,18 +77,18 @@ Process it to create the needed objects. You can list the parameters using
7077
Some suitable test values for the parameters are
7178

7279
* JDK_VERSION: 21
73-
* APP_URI: https://github.com/jboss-container-images/openjdk-test-applications
80+
* APP_URI: https://github.com/rh-openjdk/openjdk-container-test-applications
7481
* REF: master
75-
* CONTEXT_DIR: quarkus-quickstarts/getting-started-3.9.2-uberjar
82+
* CONTEXT_DIR: quarkus-quickstarts/getting-started-3.21.2-uberjar
7683
* APPNAME: quarkus-quickstart
7784
* TARGET_PORT: 8080
7885
* SERVICE_PORT: 8080
7986

8087
oc process \
8188
-p JDK_VERSION=21 \
82-
-p APP_URI=https://github.com/jboss-container-images/openjdk-test-applications \
89+
-p APP_URI=https://github.com/rh-openjdk/openjdk-container-test-applications \
8390
-p REF=master \
84-
-p CONTEXT_DIR=quarkus-quickstarts/getting-started-3.9.2-uberjar \
91+
-p CONTEXT_DIR=quarkus-quickstarts/getting-started-3.21.2-uberjar \
8592
-p APPNAME=quarkus-quickstart \
8693
-p TARGET_PORT=8080 \
8794
-p SERVICE_PORT=8080 \

0 commit comments

Comments
 (0)