浏览代码

Updating the Semeru Runtimes docker documentation. (#2017)

narkedi 4 年之前
父节点
当前提交
7700d81430

+ 1 - 0
ibm-semeru-runtimes/README-short.txt

@@ -0,0 +1 @@
+IBM Semeru Runtime Official Images for OpenJDK and Eclipse OpenJ9 binaries.

+ 37 - 0
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 <base image>
+ENV JAVA_HOME=/opt/java/openjdk
+COPY --from=%%IMAGE%%:11 $JAVA_HOME $JAVA_HOME
+ENV PATH="${JAVA_HOME}/bin:${PATH}"
+```

+ 1 - 0
ibm-semeru-runtimes/github-repo

@@ -0,0 +1 @@
+https://github.com/ibmruntimes/semeru-containers

+ 1 - 0
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;

+ 5 - 0
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.

+ 1 - 0
ibm-semeru-runtimes/maintainer.md

@@ -0,0 +1 @@
+[IBM Semeru Runtime](%%GITHUB-REPO%%)