Skip to content

Commit

Permalink
silence guard check on success branch
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed May 30, 2024
1 parent f125b75 commit 479ecad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/jlink/jlinked-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ objects:
source:
dockerfile: |
FROM -
RUN if [ -f "/opt/jboss/container/java/jlink/preflight.sh" ]; then echo "jlink scripts exist "; else echo "jlink scripts doesn't exist"; exit 1; fi
RUN if [ ! -f "/opt/jboss/container/java/jlink/preflight.sh" ]; then echo "jlink scripts doesn't exist" 2>&1; exit 1; fi
USER 0
RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JDK_VERSION}-openjdk-jmods
RUN mkdir -p /mnt/jrootfs
Expand Down

0 comments on commit 479ecad

Please sign in to comment.