Skip to content

Commit 47e70e9

Browse files
committed
Pulling builder image from new ubi9 imagestreams
1 parent 4f38d38 commit 47e70e9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

templates/jlink/jlink-builder/jdk-11-buildconfig.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ spec:
1010
status:
1111
dockerImageRepository: image-registry.openshift-image-registry.svc:5000/default/ubi9-openjdk-11-jlink
1212
publicDockerImageRepository: default-route-openshift-image-registry.apps-crc.testing/default/ubi9-openjdk-11-jlink
13+
parameters:
14+
- description: JDK version to produce a jmods image for
15+
name: JDK_VERSION
16+
value: 11
1317
---
1418
apiVersion: build.openshift.io/v1
1519
kind: BuildConfig
@@ -25,7 +29,10 @@ spec:
2529
RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-11-openjdk-jmods
2630
USER 185
2731
strategy:
28-
type: Docker
32+
dockerStrategy:
33+
from:
34+
kind: ImageStreamTag
35+
name: ubi9-openjdk-11:1.13
2936
output:
3037
to:
3138
kind: ImageStreamTag

0 commit comments

Comments
 (0)