Skip to content

Commit 39c2f5e

Browse files
committed
Uncomment jrootfs lines and undo the changes to Dockerfile
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent fa066b7 commit 39c2f5e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

templates/jlink/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#Stage-1: ubi9-jlinked-image is builder image + application + jlinked JVM
44
# 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
66
USER 0
77
RUN mkdir -p /mnt/jrootfs
88
RUN microdnf install --installroot /mnt/jrootfs --releasever 9 --setopt install_weak_deps=0 --nodocs -y \

templates/multistage-dockerfile-buildconfig.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ objects:
4343
kind: ImageStreamTag
4444
name: intermediate:latest
4545
paths:
46-
# path does not exist in intermediate image, yet
47-
# - sourcePath: /mnt/jrootfs
48-
# destinationDir: jrootfs
46+
- sourcePath: /mnt/jrootfs
47+
destinationDir: jrootfs
4948
- sourcePath: /deployments
5049
destinationDir: deployments
5150
- sourcePath: /tmp/jre/.
@@ -57,7 +56,7 @@ objects:
5756
FROM registry.access.redhat.com/ubi9/ubi-micro
5857
ARG JAVA_HOME=/usr/lib/jvm/java
5958
60-
#COPY jrootfs/ /
59+
COPY jrootfs/ /
6160
COPY deployments /
6261
COPY customJVM ${JAVA_HOME}
6362
COPY runScripts /opt/jboss/container/

0 commit comments

Comments
 (0)