File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,14 @@ FROM registry.access.redhat.com/ubi9/ubi-micro AS lean-runtime
18
18
COPY --from=ubi9-jlinked-image /mnt/jrootfs/ /
19
19
COPY --from=ubi9-jlinked-image /deployments /deployments
20
20
COPY --from=ubi9-jlinked-image /tmp/jre /usr/lib/jvm/java
21
- COPY --from=ubi9-jlinked-image /opt/jboss/container/java/run/run-java.sh /opt/jboss/container/java/run/run-java.sh
22
- COPY --from=ubi9-jlinked-image /opt/jboss/container/util/logging/logging.sh /opt/jboss/container/util/logging/logging.sh
23
- COPY --from=ubi9-jlinked-image /opt/jboss/container/java/run/run-env.sh /opt/jboss/container/java/run/run-env.sh
24
- RUN ls -LR /opt/jboss/container/
21
+ COPY --from=ubi9-jlinked-image /opt/jboss/container/ /opt/jboss/container/
22
+ RUN ls -la /opt/jboss/container/*
25
23
26
24
ENV JAVA_HOME="/usr/lib/jvm/java"
27
25
RUN echo $JAVA_HOME
28
26
29
27
ENV PATH="$JAVA_HOME/bin/:$PATH"
30
28
RUN echo $PATH
31
29
32
- ENV JBOSS_CONTAINER_UTIL_LOGGING_MODULE=/opt/jboss/container/util/logging
33
- ENV JBOSS_CONTAINER_JAVA_RUN_MODULE=/opt/jboss/container/java/run
34
-
35
30
CMD /opt/jboss/container/java/run/run-java.sh
36
31
You can’t perform that action at this time.
0 commit comments