From e2e6094c9b2f9eeaf20564a051473378db401fb5 Mon Sep 17 00:00:00 2001 From: Dinakar Guniguntala Date: Tue, 14 Feb 2017 16:33:52 +0530 Subject: [PATCH] Add support for IBM Java 9 Early Access Images (1.9.0_ea2). --- ibmjava/content.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/ibmjava/content.md b/ibmjava/content.md index cf04389ce..7a23ee530 100644 --- a/ibmjava/content.md +++ b/ibmjava/content.md @@ -1,9 +1,13 @@ ### Overview -The images in this repository contain IBM® SDK, Java™ Technology Edition, version 1.8.0\_sr3fp22 (8.0-3.22). See [what's new](http://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.lnx.80.doc/diag/preface/changes_80/changes.html). See the license section for restrictions that relate to the use of this image. For more information about IBM® SDK, Java™ Technology Edition and API documentation, see the [IBM Knowledge Center](http://www.ibm.com/support/knowledgecenter/SSYKE2/welcome_javasdk_family.html). For tutorials, recipes, and Java usage in Bluemix, see [IBM developerWorks](http://www.ibm.com/developerworks/java). +The images in this repository contain IBM® SDK, Java™ Technology Edition, version 1.8.0\_sr3fp22 (8.0-3.22) and 1.9.0\_ea2 (9.0 early access). For Java 8 images, see [what's new](http://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.lnx.80.doc/diag/preface/changes_80/changes.html). See the license section for restrictions that relate to the use of this image. For more information about IBM® SDK, Java™ Technology Edition and API documentation, see the [IBM Knowledge Center](http://www.ibm.com/support/knowledgecenter/SSYKE2/welcome_javasdk_family.html). For tutorials, recipes, and Java usage in Bluemix, see [IBM developerWorks](http://www.ibm.com/developerworks/java). Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates. +#### Java 9 Beta + +Java 9 Beta Images are now available for you to test and provide feedback ! Please see the [Open Beta Community](https://www.ibm.com/developerworks/community/groups/service/html/communityoverview?communityUuid=d4eb8c70-3a8c-4316-8cc6-b08b3e277a4b) page for more details. The images are available for all three supported architectures (x86\_64, s390x and ppc64le). Currently the images only have the SDK (Software Developers Kit). + ### Images There are three types of Docker images here: the Software Developers Kit (SDK), and the Java Runtime Environment (JRE) and a small footprint version of the JRE (SFJ). These images can be used as the basis for custom built images for running your applications. @@ -42,6 +46,19 @@ COPY japp.jar /opt/app CMD ["java", "-jar", "/opt/app/japp.jar"] ``` +To download the latest Java 9 Beta (Early Access) Image: + +```console +docker pull ibmjava:9-ea2-sdk +``` + +```dockerfile +FROM ibmjava:jre +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