Skip to content

Commit

Permalink
Merge pull request #2512 from jayasg12/master
Browse files Browse the repository at this point in the history
Correct IBM Semeru Tag info in Example
  • Loading branch information
yosifkit authored Dec 3, 2024
2 parents e79257e + 64419f4 commit f769e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibm-semeru-runtimes/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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:

```dockerfile
FROM %%IMAGE%%:11
FROM %%IMAGE%%:open-11-jdk
RUN mkdir /opt/app
COPY japp.jar /opt/app
CMD ["java", "-jar", "/opt/app/japp.jar"]
Expand All @@ -32,6 +32,6 @@ If you are using a distribution that we don't provide an image for you can copy
# Example
FROM <base image>
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=%%IMAGE%%:11 $JAVA_HOME $JAVA_HOME
COPY --from=%%IMAGE%%:open-11-jdk $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}"
```

0 comments on commit f769e80

Please sign in to comment.