File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Stage-1: ubi9-jlinked-image is builder image + application + jlinked JVM
4
4
# install additional system dependencies (for ubi-micro) to /mnt/jrootfs
5
- FROM quay.io/jdowland/jlink: ubi9-jlinked-image AS ubi9-jlinked-image
5
+ FROM ubi9-jlinked-image AS ubi9-jlinked-image
6
6
USER 0
7
7
RUN mkdir -p /mnt/jrootfs
8
8
RUN microdnf install --installroot /mnt/jrootfs --releasever 9 --setopt install_weak_deps=0 --nodocs -y \
Original file line number Diff line number Diff line change @@ -43,9 +43,8 @@ objects:
43
43
kind : ImageStreamTag
44
44
name : intermediate:latest
45
45
paths :
46
- # path does not exist in intermediate image, yet
47
- # - sourcePath: /mnt/jrootfs
48
- # destinationDir: jrootfs
46
+ - sourcePath : /mnt/jrootfs
47
+ destinationDir : jrootfs
49
48
- sourcePath : /deployments
50
49
destinationDir : deployments
51
50
- sourcePath : /tmp/jre/.
@@ -57,7 +56,7 @@ objects:
57
56
FROM registry.access.redhat.com/ubi9/ubi-micro
58
57
ARG JAVA_HOME=/usr/lib/jvm/java
59
58
60
- # COPY jrootfs/ /
59
+ COPY jrootfs/ /
61
60
COPY deployments /
62
61
COPY customJVM ${JAVA_HOME}
63
62
COPY runScripts /opt/jboss/container/
You can’t perform that action at this time.
0 commit comments