Run update.sh

This commit is contained in:
Docker Library Bot 2024-12-03 09:09:28 -08:00
parent f769e805d8
commit 52055cb4a4
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ The IBM Semeru Runtimes are free production-ready open source binaries built wit
To run a pre-built japp.jar file with the latest OpenJDK 11, use the following Dockerfile: To run a pre-built japp.jar file with the latest OpenJDK 11, use the following Dockerfile:
```dockerfile ```dockerfile
FROM ibm-semeru-runtimes:11 FROM ibm-semeru-runtimes:open-11-jdk
RUN mkdir /opt/app RUN mkdir /opt/app
COPY japp.jar /opt/app COPY japp.jar /opt/app
CMD ["java", "-jar", "/opt/app/japp.jar"] CMD ["java", "-jar", "/opt/app/japp.jar"]
@ -163,7 +163,7 @@ If you are using a distribution that we don't provide an image for you can copy
# Example # Example
FROM <base image> FROM <base image>
ENV JAVA_HOME=/opt/java/openjdk ENV JAVA_HOME=/opt/java/openjdk
COPY --from=ibm-semeru-runtimes:11 $JAVA_HOME $JAVA_HOME COPY --from=ibm-semeru-runtimes:open-11-jdk $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" ENV PATH="${JAVA_HOME}/bin:${PATH}"
``` ```