From 7700d8143098e1c08b9ff10e64f948257e0172aa Mon Sep 17 00:00:00 2001 From: narkedi <31617985+narkedi@users.noreply.github.com> Date: Thu, 21 Oct 2021 05:46:07 +0530 Subject: [PATCH] Updating the Semeru Runtimes docker documentation. (#2017) --- ibm-semeru-runtimes/README-short.txt | 1 + ibm-semeru-runtimes/content.md | 37 ++++++++++++++++++++++++++++ ibm-semeru-runtimes/github-repo | 1 + ibm-semeru-runtimes/issues.md | 1 + ibm-semeru-runtimes/license.md | 5 ++++ ibm-semeru-runtimes/maintainer.md | 1 + 6 files changed, 46 insertions(+) create mode 100644 ibm-semeru-runtimes/README-short.txt create mode 100644 ibm-semeru-runtimes/content.md create mode 100644 ibm-semeru-runtimes/github-repo create mode 100644 ibm-semeru-runtimes/issues.md create mode 100644 ibm-semeru-runtimes/license.md create mode 100644 ibm-semeru-runtimes/maintainer.md diff --git a/ibm-semeru-runtimes/README-short.txt b/ibm-semeru-runtimes/README-short.txt new file mode 100644 index 000000000..ce13d5f04 --- /dev/null +++ b/ibm-semeru-runtimes/README-short.txt @@ -0,0 +1 @@ +IBM Semeru Runtime Official Images for OpenJDK and Eclipse OpenJ9 binaries. diff --git a/ibm-semeru-runtimes/content.md b/ibm-semeru-runtimes/content.md new file mode 100644 index 000000000..20cce094a --- /dev/null +++ b/ibm-semeru-runtimes/content.md @@ -0,0 +1,37 @@ +## Overview + +The images in this repository contain OpenJDK binaries that are built by IBM Semeru Runtimes. + +# What is IBM Semeru Runtimes ? + +The IBM Semeru Runtimes are free production-ready open source binaries built with the OpenJDK class libraries and the Eclipse OpenJ9 JVM, which delivers the power and performance to run your Java applications, when you need it most. + +# How to use this Image + +To run a pre-built japp.jar file with the latest OpenJDK 11, use the following Dockerfile: + +```dockerfile +FROM %%IMAGE%%:11 +RUN mkdir /opt/app +COPY japp.jar /opt/app +CMD ["java", "-jar", "/opt/app/japp.jar"] +``` + +You can build and run the Docker Image as shown in the following example: + +```console +docker build -t japp . +docker run -it --rm japp +``` + +### Using a different base Image + +If you are using a distribution that we don't provide an image for you can copy the JDK using a similar Dockerfile to the one below: + +```dockerfile +# Example +FROM +ENV JAVA_HOME=/opt/java/openjdk +COPY --from=%%IMAGE%%:11 $JAVA_HOME $JAVA_HOME +ENV PATH="${JAVA_HOME}/bin:${PATH}" +``` diff --git a/ibm-semeru-runtimes/github-repo b/ibm-semeru-runtimes/github-repo new file mode 100644 index 000000000..18fd7e4d0 --- /dev/null +++ b/ibm-semeru-runtimes/github-repo @@ -0,0 +1 @@ +https://github.com/ibmruntimes/semeru-containers diff --git a/ibm-semeru-runtimes/issues.md b/ibm-semeru-runtimes/issues.md new file mode 100644 index 000000000..da1b30243 --- /dev/null +++ b/ibm-semeru-runtimes/issues.md @@ -0,0 +1 @@ +[GitHub](%%GITHUB-REPO%%/issues); The [IBM Semeru Runtime support](https://ibm.com/semeru-runtimes) page has more information on quality, roadmap and other details for IBM Semeru Runtime Open Edition builds; diff --git a/ibm-semeru-runtimes/license.md b/ibm-semeru-runtimes/license.md new file mode 100644 index 000000000..41e216753 --- /dev/null +++ b/ibm-semeru-runtimes/license.md @@ -0,0 +1,5 @@ +The Dockerfiles and associated scripts are licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). + +Licenses for the products installed within the images: + +- IBM Semeru Runtime Open Edition: The project license is GNU GPL v2 with Classpath Exception. diff --git a/ibm-semeru-runtimes/maintainer.md b/ibm-semeru-runtimes/maintainer.md new file mode 100644 index 000000000..017bf373e --- /dev/null +++ b/ibm-semeru-runtimes/maintainer.md @@ -0,0 +1 @@ +[IBM Semeru Runtime](%%GITHUB-REPO%%)