feat: verify with java --version

just in case
This commit is contained in:
DarkCat09 2025-01-28 17:19:52 +04:00
parent 22ef423c5d
commit 0025a3a84e
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82

View file

@ -48,6 +48,10 @@ FROM ubuntu:24.10 AS run
COPY --from=build /build/dist/jre /usr/lib/jvm/openj9-jre COPY --from=build /build/dist/jre /usr/lib/jvm/openj9-jre
RUN ln -s /usr/lib/jvm/openj9-jre/bin/java /usr/bin/java RUN ln -s /usr/lib/jvm/openj9-jre/bin/java /usr/bin/java
ENV JAVA_HOME=/usr/lib/jvm/openj9-jre ENV JAVA_HOME=/usr/lib/jvm/openj9-jre
# verify installation
RUN java --version
# ------ # ------