File tree Expand file tree Collapse file tree 6 files changed +94
-0
lines changed
templates/jlink/jlink-builder Expand file tree Collapse file tree 6 files changed +94
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Stage 1 of the multi-stage build for the Jlink workflow (OPENJDK-2686)
2
+ # Goal: Builder image based off of the OpenJDK builder image with the jmods RPM installed
3
+ FROM registry.access.redhat.com/ubi9/openjdk-11 AS ubi9-openjdk11-jmods
4
+ USER 0
5
+ RUN microdnf --setopt=install_weak_deps=0 \
6
+ --setopt=tsflags=nodocs \
7
+ install \
8
+ -y \
9
+ java-11-openjdk-jmods
Original file line number Diff line number Diff line change
1
+ # Stage 1 of the multi-stage build for the Jlink workflow (OPENJDK-2686)
2
+ # Goal: Builder image based off of the OpenJDK builder image with the jmods RPM installed
3
+ FROM registry.access.redhat.com/ubi9/openjdk-17 AS ubi9-openjdk17-jmods
4
+ USER 0
5
+ RUN microdnf --setopt=install_weak_deps=0 \
6
+ --setopt=tsflags=nodocs \
7
+ install \
8
+ -y \
9
+ java-17-openjdk-jmods
Original file line number Diff line number Diff line change
1
+ # Stage 1 of the multi-stage build for the Jlink workflow (OPENJDK-2686)
2
+ # Goal: Builder image based off of the OpenJDK builder image with the jmods RPM installed
3
+ FROM registry.access.redhat.com/ubi9/openjdk-21 AS ubi9-openjdk21-jmods
4
+ USER 0
5
+ RUN microdnf --setopt=install_weak_deps=0 \
6
+ --setopt=tsflags=nodocs \
7
+ install \
8
+ -y \
9
+ java-11-openjdk-jmods
Original file line number Diff line number Diff line change
1
+ apiVersion : build.openshift.io/v1
2
+ kind : BuildConfig
3
+ metadata :
4
+ name : jlink-builder-jdk-11
5
+ labels :
6
+ app : jlink-builder-jdk-11
7
+ spec :
8
+ source :
9
+ type : Git
10
+ git :
11
+ uri : https://github.com/jmtd/quarkus-quickstarts.git
12
+ contextDir : getting-started
13
+ dockerfile : |
14
+ FROM registry.access.redhat.com/ubi9/openjdk-11 AS ubi9-openjdk-11-jmods
15
+ USER 0
16
+ RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-11-openjdk-jmods
17
+ strategy :
18
+ type : Docker
19
+ output :
20
+ to :
21
+ kind : ImageStreamTag
22
+ name : ubi9-openjdk-11-jlink:latest
23
+
Original file line number Diff line number Diff line change
1
+ apiVersion : build.openshift.io/v1
2
+ kind : BuildConfig
3
+ metadata :
4
+ name : jlink-builder-jdk-17
5
+ labels :
6
+ app : jlink-builder-jdk-17
7
+ spec :
8
+ source :
9
+ type : Git
10
+ git :
11
+ uri : https://github.com/jmtd/quarkus-quickstarts.git
12
+ contextDir : getting-started
13
+ dockerfile : |
14
+ FROM registry.access.redhat.com/ubi9/openjdk-11 AS ubi9-openjdk-17-jmods
15
+ USER 0
16
+ RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-17-openjdk-jmods
17
+ strategy :
18
+ type : Docker
19
+ output :
20
+ to :
21
+ kind : ImageStreamTag
22
+ name : ubi9-openjdk-17-jlink:latest
Original file line number Diff line number Diff line change
1
+ apiVersion : build.openshift.io/v1
2
+ kind : BuildConfig
3
+ metadata :
4
+ name : jlink-builder-jdk-21
5
+ labels :
6
+ app : jlink-builder-jdk-21
7
+ spec :
8
+ source :
9
+ type : Git
10
+ git :
11
+ uri : https://github.com/jmtd/quarkus-quickstarts.git
12
+ contextDir : getting-started
13
+ dockerfile : |
14
+ FROM registry.access.redhat.com/ubi9/openjdk-21 AS ubi9-openjdk-21-jmods
15
+ USER 0
16
+ RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-21-openjdk-jmods
17
+ strategy :
18
+ type : Docker
19
+ output :
20
+ to :
21
+ kind : ImageStreamTag
22
+ name : ubi9-openjdk-21-jlink:latest
You can’t perform that action at this time.
0 commit comments