From 4937b292f8e27e9ef41840aa7a04e2d96d9bc1fc Mon Sep 17 00:00:00 2001 From: Jerome Guibert Date: Mon, 8 Feb 2016 02:17:01 +0100 Subject: [PATCH 1/2] add jre --- Dockerfile | 12 +- Makefile | 4 +- README-short.md | 2 +- README.md | 24 +++- jdk-1.7/Dockerfile | 12 +- jdk-1.7/Makefile | 4 +- jdk-1.7/README-short.md | 2 +- jdk-1.7/README.md | 30 ++-- jdk-1.8/Dockerfile | 12 +- jdk-1.8/Makefile | 4 +- jdk-1.8/README-short.md | 2 +- jdk-1.8/README.md | 30 ++-- jdk-7u79/Dockerfile | 12 +- jdk-7u79/Makefile | 4 +- jdk-7u79/README-short.md | 2 +- jdk-7u79/README.md | 30 ++-- jdk-7u80/Dockerfile | 12 +- jdk-7u80/Makefile | 4 +- jdk-7u80/README-short.md | 2 +- jdk-7u80/README.md | 30 ++-- jdk-8u25/Dockerfile | 12 +- jdk-8u25/Makefile | 4 +- jdk-8u25/README-short.md | 2 +- jdk-8u25/README.md | 30 ++-- jdk-8u31/Dockerfile | 12 +- jdk-8u31/Makefile | 4 +- jdk-8u31/README-short.md | 2 +- jdk-8u31/README.md | 30 ++-- jdk-8u40/Dockerfile | 12 +- jdk-8u40/Makefile | 4 +- jdk-8u40/README-short.md | 2 +- jdk-8u40/README.md | 30 ++-- jdk-8u45/Dockerfile | 12 +- jdk-8u45/Makefile | 4 +- jdk-8u45/README-short.md | 2 +- jdk-8u45/README.md | 30 ++-- jdk-8u51/Dockerfile | 12 +- jdk-8u51/Makefile | 4 +- jdk-8u51/README-short.md | 2 +- jdk-8u51/README.md | 30 ++-- jdk-8u60/Dockerfile | 12 +- jdk-8u60/Makefile | 4 +- jdk-8u60/README-short.md | 2 +- jdk-8u60/README.md | 30 ++-- jdk-8u65/Dockerfile | 12 +- jdk-8u65/Makefile | 4 +- jdk-8u65/README-short.md | 2 +- jdk-8u65/README.md | 30 ++-- jdk-8u66/Dockerfile | 12 +- jdk-8u66/Makefile | 4 +- jdk-8u66/README-short.md | 2 +- jdk-8u66/README.md | 30 ++-- jre-1.7/.dockerignore | 6 + jre-1.7/.gitignore | 41 ++++++ jre-1.7/Dockerfile | 24 ++++ jre-1.7/LICENSE | 21 +++ {oracle-java8 => jre-1.7}/Makefile | 26 +++- jre-1.7/README-short.md | 3 + jre-1.7/README.md | 135 ++++++++++++++++++ .../java-dynamic-memory-opts | 1 - jre-1.8/.dockerignore | 6 + jre-1.8/.gitignore | 41 ++++++ jre-1.8/Dockerfile | 24 ++++ jre-1.8/LICENSE | 21 +++ jre-1.8/Makefile | 54 +++++++ jre-1.8/README-short.md | 3 + jre-1.8/README.md | 135 ++++++++++++++++++ jre-1.8/java-dynamic-memory-opts | 18 +++ jre-7u80/.dockerignore | 6 + jre-7u80/.gitignore | 41 ++++++ jre-7u80/Dockerfile | 24 ++++ jre-7u80/LICENSE | 21 +++ jre-7u80/Makefile | 54 +++++++ jre-7u80/README-short.md | 3 + jre-7u80/README.md | 135 ++++++++++++++++++ jre-7u80/java-dynamic-memory-opts | 18 +++ jre-8u65/.dockerignore | 6 + jre-8u65/.gitignore | 41 ++++++ jre-8u65/Dockerfile | 24 ++++ jre-8u65/LICENSE | 21 +++ jre-8u65/Makefile | 54 +++++++ jre-8u65/README-short.md | 3 + jre-8u65/README.md | 135 ++++++++++++++++++ jre-8u65/java-dynamic-memory-opts | 18 +++ jre-8u66/.dockerignore | 6 + jre-8u66/.gitignore | 41 ++++++ jre-8u66/Dockerfile | 24 ++++ jre-8u66/LICENSE | 21 +++ jre-8u66/Makefile | 54 +++++++ jre-8u66/README-short.md | 3 + jre-8u66/README.md | 135 ++++++++++++++++++ jre-8u66/java-dynamic-memory-opts | 18 +++ oracle-java7/Dockerfile | 23 --- oracle-java7/Makefile | 30 ---- oracle-java8/Dockerfile | 29 ---- src/README.md | 20 ++- src/docker/README-short.md | 2 +- src/generate.sh | 51 +++++-- src/template/Dockerfile | 14 +- src/template/Makefile | 4 +- 100 files changed, 1892 insertions(+), 364 deletions(-) create mode 100644 jre-1.7/.dockerignore create mode 100644 jre-1.7/.gitignore create mode 100644 jre-1.7/Dockerfile create mode 100644 jre-1.7/LICENSE rename {oracle-java8 => jre-1.7}/Makefile (61%) create mode 100644 jre-1.7/README-short.md create mode 100644 jre-1.7/README.md rename {oracle-java8 => jre-1.7}/java-dynamic-memory-opts (99%) create mode 100644 jre-1.8/.dockerignore create mode 100644 jre-1.8/.gitignore create mode 100644 jre-1.8/Dockerfile create mode 100644 jre-1.8/LICENSE create mode 100644 jre-1.8/Makefile create mode 100644 jre-1.8/README-short.md create mode 100644 jre-1.8/README.md create mode 100755 jre-1.8/java-dynamic-memory-opts create mode 100644 jre-7u80/.dockerignore create mode 100644 jre-7u80/.gitignore create mode 100644 jre-7u80/Dockerfile create mode 100644 jre-7u80/LICENSE create mode 100644 jre-7u80/Makefile create mode 100644 jre-7u80/README-short.md create mode 100644 jre-7u80/README.md create mode 100755 jre-7u80/java-dynamic-memory-opts create mode 100644 jre-8u65/.dockerignore create mode 100644 jre-8u65/.gitignore create mode 100644 jre-8u65/Dockerfile create mode 100644 jre-8u65/LICENSE create mode 100644 jre-8u65/Makefile create mode 100644 jre-8u65/README-short.md create mode 100644 jre-8u65/README.md create mode 100755 jre-8u65/java-dynamic-memory-opts create mode 100644 jre-8u66/.dockerignore create mode 100644 jre-8u66/.gitignore create mode 100644 jre-8u66/Dockerfile create mode 100644 jre-8u66/LICENSE create mode 100644 jre-8u66/Makefile create mode 100644 jre-8u66/README-short.md create mode 100644 jre-8u66/README.md create mode 100755 jre-8u66/java-dynamic-memory-opts delete mode 100644 oracle-java7/Dockerfile delete mode 100644 oracle-java7/Makefile delete mode 100644 oracle-java8/Dockerfile diff --git a/Dockerfile b/Dockerfile index 8eff954..35e7c53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u66 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u66 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u66 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz" && \ - tar xvf jdk-8u66-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u66-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u66-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/Makefile b/Makefile index 5833e97..450845b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u66 +VERSION = jdk-8u66 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/README-short.md b/README-short.md index 792a1ad..c24983e 100644 --- a/README-short.md +++ b/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/README.md b/README.md index 8491eab..7afeabf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version - add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-1.7/Dockerfile b/jdk-1.7/Dockerfile index 96779cb..35319a5 100644 --- a/jdk-1.7/Dockerfile +++ b/jdk-1.7/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 7u80 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-7u80 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 7u80 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz" && \ - tar xvf jdk-7u80-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-7u80-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-7u80-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-1.7/Makefile b/jdk-1.7/Makefile index 33de04b..0ebe87d 100644 --- a/jdk-1.7/Makefile +++ b/jdk-1.7/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 7u80 +VERSION = jdk-7u80 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-1.7/README-short.md b/jdk-1.7/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-1.7/README-short.md +++ b/jdk-1.7/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-1.7/README.md b/jdk-1.7/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-1.7/README.md +++ b/jdk-1.7/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-1.8/Dockerfile b/jdk-1.8/Dockerfile index 8eff954..35e7c53 100644 --- a/jdk-1.8/Dockerfile +++ b/jdk-1.8/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u66 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u66 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u66 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz" && \ - tar xvf jdk-8u66-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u66-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u66-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-1.8/Makefile b/jdk-1.8/Makefile index 5833e97..450845b 100644 --- a/jdk-1.8/Makefile +++ b/jdk-1.8/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u66 +VERSION = jdk-8u66 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-1.8/README-short.md b/jdk-1.8/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-1.8/README-short.md +++ b/jdk-1.8/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-1.8/README.md b/jdk-1.8/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-1.8/README.md +++ b/jdk-1.8/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-7u79/Dockerfile b/jdk-7u79/Dockerfile index f82fcea..2312b49 100644 --- a/jdk-7u79/Dockerfile +++ b/jdk-7u79/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 7u79 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-7u79 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 7u79 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz" && \ - tar xvf jdk-7u79-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-7u79-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-7u79-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-7u79/Makefile b/jdk-7u79/Makefile index c5aa8c5..3c766fc 100644 --- a/jdk-7u79/Makefile +++ b/jdk-7u79/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 7u79 +VERSION = jdk-7u79 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-7u79/README-short.md b/jdk-7u79/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-7u79/README-short.md +++ b/jdk-7u79/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-7u79/README.md b/jdk-7u79/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-7u79/README.md +++ b/jdk-7u79/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-7u80/Dockerfile b/jdk-7u80/Dockerfile index 96779cb..35319a5 100644 --- a/jdk-7u80/Dockerfile +++ b/jdk-7u80/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 7u80 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-7u80 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 7u80 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz" && \ - tar xvf jdk-7u80-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-7u80-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-7u80-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-7u80/Makefile b/jdk-7u80/Makefile index 33de04b..0ebe87d 100644 --- a/jdk-7u80/Makefile +++ b/jdk-7u80/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 7u80 +VERSION = jdk-7u80 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-7u80/README-short.md b/jdk-7u80/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-7u80/README-short.md +++ b/jdk-7u80/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-7u80/README.md b/jdk-7u80/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-7u80/README.md +++ b/jdk-7u80/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u25/Dockerfile b/jdk-8u25/Dockerfile index e862acb..e346b61 100644 --- a/jdk-8u25/Dockerfile +++ b/jdk-8u25/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u25 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u25 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u25 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz" && \ - tar xvf jdk-8u25-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u25-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u25-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u25/Makefile b/jdk-8u25/Makefile index 8727001..018e520 100644 --- a/jdk-8u25/Makefile +++ b/jdk-8u25/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u25 +VERSION = jdk-8u25 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u25/README-short.md b/jdk-8u25/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u25/README-short.md +++ b/jdk-8u25/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u25/README.md b/jdk-8u25/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u25/README.md +++ b/jdk-8u25/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u31/Dockerfile b/jdk-8u31/Dockerfile index fd682ad..06789df 100644 --- a/jdk-8u31/Dockerfile +++ b/jdk-8u31/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u31 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u31 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u31 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u31 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u31-b13/jdk-8u31-linux-x64.tar.gz" && \ - tar xvf jdk-8u31-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u31-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u31-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u31/Makefile b/jdk-8u31/Makefile index b6847a7..4c719ba 100644 --- a/jdk-8u31/Makefile +++ b/jdk-8u31/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u31 +VERSION = jdk-8u31 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u31/README-short.md b/jdk-8u31/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u31/README-short.md +++ b/jdk-8u31/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u31/README.md b/jdk-8u31/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u31/README.md +++ b/jdk-8u31/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u40/Dockerfile b/jdk-8u40/Dockerfile index 3f87366..ca267af 100644 --- a/jdk-8u40/Dockerfile +++ b/jdk-8u40/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u40 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u40 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u40 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u40 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u40-b25/jdk-8u40-linux-x64.tar.gz" && \ - tar xvf jdk-8u40-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u40-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u40-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u40/Makefile b/jdk-8u40/Makefile index 38f9223..dd59f57 100644 --- a/jdk-8u40/Makefile +++ b/jdk-8u40/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u40 +VERSION = jdk-8u40 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u40/README-short.md b/jdk-8u40/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u40/README-short.md +++ b/jdk-8u40/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u40/README.md b/jdk-8u40/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u40/README.md +++ b/jdk-8u40/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u45/Dockerfile b/jdk-8u45/Dockerfile index aa4a990..dae5c97 100644 --- a/jdk-8u45/Dockerfile +++ b/jdk-8u45/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u45 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u45 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u45 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u45 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz" && \ - tar xvf jdk-8u45-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u45-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u45-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u45/Makefile b/jdk-8u45/Makefile index 8ab2a7a..35fff60 100644 --- a/jdk-8u45/Makefile +++ b/jdk-8u45/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u45 +VERSION = jdk-8u45 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u45/README-short.md b/jdk-8u45/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u45/README-short.md +++ b/jdk-8u45/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u45/README.md b/jdk-8u45/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u45/README.md +++ b/jdk-8u45/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u51/Dockerfile b/jdk-8u51/Dockerfile index 7a65554..174943c 100644 --- a/jdk-8u51/Dockerfile +++ b/jdk-8u51/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u51 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u51 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u51 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u51 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-x64.tar.gz" && \ - tar xvf jdk-8u51-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u51-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u51-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u51/Makefile b/jdk-8u51/Makefile index a5ae107..2e35ede 100644 --- a/jdk-8u51/Makefile +++ b/jdk-8u51/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u51 +VERSION = jdk-8u51 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u51/README-short.md b/jdk-8u51/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u51/README-short.md +++ b/jdk-8u51/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u51/README.md b/jdk-8u51/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u51/README.md +++ b/jdk-8u51/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u60/Dockerfile b/jdk-8u60/Dockerfile index 1651d2d..74a8734 100644 --- a/jdk-8u60/Dockerfile +++ b/jdk-8u60/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u60 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u60 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u60 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.tar.gz" && \ - tar xvf jdk-8u60-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u60-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u60-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u60/Makefile b/jdk-8u60/Makefile index 38d12f0..4aec99f 100644 --- a/jdk-8u60/Makefile +++ b/jdk-8u60/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u60 +VERSION = jdk-8u60 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u60/README-short.md b/jdk-8u60/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u60/README-short.md +++ b/jdk-8u60/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u60/README.md b/jdk-8u60/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u60/README.md +++ b/jdk-8u60/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u65/Dockerfile b/jdk-8u65/Dockerfile index b7e9775..6f85487 100644 --- a/jdk-8u65/Dockerfile +++ b/jdk-8u65/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u65 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u65 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u65 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u65-b17/jdk-8u65-linux-x64.tar.gz" && \ - tar xvf jdk-8u65-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u65-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u65-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u65/Makefile b/jdk-8u65/Makefile index 3ed07a1..23bd82b 100644 --- a/jdk-8u65/Makefile +++ b/jdk-8u65/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u65 +VERSION = jdk-8u65 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u65/README-short.md b/jdk-8u65/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u65/README-short.md +++ b/jdk-8u65/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u65/README.md b/jdk-8u65/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u65/README.md +++ b/jdk-8u65/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jdk-8u66/Dockerfile b/jdk-8u66/Dockerfile index 8eff954..35e7c53 100644 --- a/jdk-8u66/Dockerfile +++ b/jdk-8u66/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8u66 -# TO_BUILD: make build +# DESCRIPTION: Oracle Java jdk-8u66 # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66 FROM airdock/base:latest @@ -11,11 +8,12 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK 8u66 -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz" && \ - tar xvf jdk-8u66-linux-x64.tar.gz -C /srv/java && \ + tar xf jdk-8u66-linux-x64.tar.gz -C /srv/java && \ rm -f jdk-8u66-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/jdk* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install diff --git a/jdk-8u66/Makefile b/jdk-8u66/Makefile index 5833e97..450845b 100644 --- a/jdk-8u66/Makefile +++ b/jdk-8u66/Makefile @@ -1,7 +1,7 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 8u66 +VERSION = jdk-8u66 .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" diff --git a/jdk-8u66/README-short.md b/jdk-8u66/README-short.md index 792a1ad..c24983e 100644 --- a/jdk-8u66/README-short.md +++ b/jdk-8u66/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jdk-8u66/README.md b/jdk-8u66/README.md index 1ae31ff..7afeabf 100644 --- a/jdk-8u66/README.md +++ b/jdk-8u66/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -15,11 +15,14 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') +###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') +###Specific version - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') @@ -30,6 +33,9 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') @@ -44,29 +50,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/jre-1.7/.dockerignore b/jre-1.7/.dockerignore new file mode 100644 index 0000000..cfa8271 --- /dev/null +++ b/jre-1.7/.dockerignore @@ -0,0 +1,6 @@ +.git +.idea +*.md +Makefile +LICENSE +src diff --git a/jre-1.7/.gitignore b/jre-1.7/.gitignore new file mode 100644 index 0000000..f2c7c8f --- /dev/null +++ b/jre-1.7/.gitignore @@ -0,0 +1,41 @@ +# Created by https://www.gitignore.io + +### vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm + +*.iml + +## Directory-based project format: +.idea/ + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +build \ No newline at end of file diff --git a/jre-1.7/Dockerfile b/jre-1.7/Dockerfile new file mode 100644 index 0000000..f389159 --- /dev/null +++ b/jre-1.7/Dockerfile @@ -0,0 +1,24 @@ +# DESCRIPTION: Oracle Java jre-7u80 +# SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80 + +FROM airdock/base:latest +MAINTAINER Jerome Guibert + +# Add java dynamic memory script +COPY java-dynamic-memory-opts /srv/java/ + +# Install Oracle JDK 7u80-b15/jre-7u80 +RUN cd /tmp && \ + curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jre-7u80-linux-x64.tar.gz" && \ + tar xf jre-7u80-linux-x64.tar.gz -C /srv/java && \ + rm -f jre-7u80-linux-x64.tar.gz && \ + ln -s /srv/java/jre* /srv/java/jre && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ + chown -R java:java /srv/java && \ + /root/post-install + +# Define commonly used JAVA_HOME variable +ENV JAVA_HOME /srv/java/jre + +# Add /srv/java and jdk on PATH variable +ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java diff --git a/jre-1.7/LICENSE b/jre-1.7/LICENSE new file mode 100644 index 0000000..ad0ab70 --- /dev/null +++ b/jre-1.7/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/oracle-java8/Makefile b/jre-1.7/Makefile similarity index 61% rename from oracle-java8/Makefile rename to jre-1.7/Makefile index f55ed59..795de96 100644 --- a/oracle-java8/Makefile +++ b/jre-1.7/Makefile @@ -1,11 +1,11 @@ NAMESPACE = airdock NAME = oracle-jdk FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = 1.8 +VERSION = jre-7u80 -.PHONY: all clean build tag_latest release debug run save +.PHONY: all clean build tag_latest release debug run save start usage -all: build +all: usage build clean: @CID=$(docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(FULLNAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(FULLNAME)"; for container in $(CID); do docker rm -f $$container; done; fi; @@ -21,7 +21,7 @@ tag_latest: @docker tag $(FULLNAME):$(VERSION) $(FULLNAME):latest release: build tag_latest - docker push $(NAME) + docker push $(FULLNAME) @echo "Create a tag v-$(VERSION)" @git tag v-$(VERSION) @git push origin v-$(VERSION) @@ -35,4 +35,20 @@ save: @echo "Image $(FULLNAME):$(VERSION) exported to $(OUTPUT_FILE)" run: - @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(FULLNAME):$(VERSION))) \ No newline at end of file + @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(FULLNAME):$(VERSION))) + +start: + @docker-machine start default + @eval "$(docker-machine env default)" + +usage: + @echo "List of target" + @echo "all (default): print usage and build" + @echo "clean: remove containers and image" + @echo "build: build docker image" + @echo "tag_latest: build and tag image with 'latest'" + @echo "debug: launch a shell with this image" + @echo "save: export this image" + @echo "run: launch this image with inner command" + @echo "start: start docker machine" + @echo "usage: this help" diff --git a/jre-1.7/README-short.md b/jre-1.7/README-short.md new file mode 100644 index 0000000..c24983e --- /dev/null +++ b/jre-1.7/README-short.md @@ -0,0 +1,3 @@ +# Oracle Java + +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jre-1.7/README.md b/jre-1.7/README.md new file mode 100644 index 0000000..7afeabf --- /dev/null +++ b/jre-1.7/README.md @@ -0,0 +1,135 @@ +# Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + + +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest + +This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). + +**Dependency**: airdock/base:latest + +**Few links**: + + - [Docker Java Image](https://github.com/dockerfile/java) + +## Supported Version + + > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + +###Latest tag per version and type + - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + + +###Specific version + - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u51](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u51) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u51.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u51 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u45](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u45) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u45.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u45 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u40](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u40) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u40.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u40 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u31](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u31) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u31.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u31 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') + + + +## Usage + +You should have already install [Docker](https://www.docker.com/). + +Execute: + + 'docker run -t -i airdock/oracle-jdk:latest java -version' + +Please note that a correct docker command should be something like this one (using java user defined): + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] +``` + +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +you could set a specific percent of memory (80 % per default) : + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + or + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] +``` +If you using this script take care of your host sizing. + + +## Change Log + +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + +### 1.1 + +- add specific tag on SDK version +- add build process to generate all JDK version target +- add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version +- Use tarball from Oracle in order to install JDK +- JAVA HOME is bellow /srv/java/jdk + +### 1.0 + +- add JAVA_HOME/bin in PATH +- add java-dynamic-memory-opts utility script (on 1.8 and latest version only) +- add webupd8team key +- add oracle jdk 8 and jdk 7 +- declare JAVA_HOME +- use MIT license + + +## Build + +You should install "make" utility. + +Under each project, you could retrieve a Makefile with a set of *tasks*: + +- **all**: alias to 'build' +- **clean**: remove all container which depends on this image, and remove image previously builded +- **build**: clean and build the current version +- **tag_latest**: tag current version with ":latest" +- **release**: build and execute tag_latest, push image onto registry, and tag git repository +- **debug**: launch an interactive shell using this image +- **run**: run image as daemon and print IP address. +- **save**: export docker image as a tar.gz file + +See [Docker Project Tree](https://github.com/airdock-io/docker-base/wiki/Docker-Project-Tree) for more details. + + +## MIT License + +``` +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ``` diff --git a/oracle-java8/java-dynamic-memory-opts b/jre-1.7/java-dynamic-memory-opts similarity index 99% rename from oracle-java8/java-dynamic-memory-opts rename to jre-1.7/java-dynamic-memory-opts index d2cc21a..99ebe27 100755 --- a/oracle-java8/java-dynamic-memory-opts +++ b/jre-1.7/java-dynamic-memory-opts @@ -1,5 +1,4 @@ #!/bin/sh - # example usage: # exec java $(java-dynamic-memory-opts 80) -jar myfatjar.jar diff --git a/jre-1.8/.dockerignore b/jre-1.8/.dockerignore new file mode 100644 index 0000000..cfa8271 --- /dev/null +++ b/jre-1.8/.dockerignore @@ -0,0 +1,6 @@ +.git +.idea +*.md +Makefile +LICENSE +src diff --git a/jre-1.8/.gitignore b/jre-1.8/.gitignore new file mode 100644 index 0000000..f2c7c8f --- /dev/null +++ b/jre-1.8/.gitignore @@ -0,0 +1,41 @@ +# Created by https://www.gitignore.io + +### vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm + +*.iml + +## Directory-based project format: +.idea/ + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +build \ No newline at end of file diff --git a/jre-1.8/Dockerfile b/jre-1.8/Dockerfile new file mode 100644 index 0000000..8e71346 --- /dev/null +++ b/jre-1.8/Dockerfile @@ -0,0 +1,24 @@ +# DESCRIPTION: Oracle Java jre-8u66 +# SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66 + +FROM airdock/base:latest +MAINTAINER Jerome Guibert + +# Add java dynamic memory script +COPY java-dynamic-memory-opts /srv/java/ + +# Install Oracle JDK 8u66-b17/jre-8u66 +RUN cd /tmp && \ + curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jre-8u66-linux-x64.tar.gz" && \ + tar xf jre-8u66-linux-x64.tar.gz -C /srv/java && \ + rm -f jre-8u66-linux-x64.tar.gz && \ + ln -s /srv/java/jre* /srv/java/jre && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ + chown -R java:java /srv/java && \ + /root/post-install + +# Define commonly used JAVA_HOME variable +ENV JAVA_HOME /srv/java/jre + +# Add /srv/java and jdk on PATH variable +ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java diff --git a/jre-1.8/LICENSE b/jre-1.8/LICENSE new file mode 100644 index 0000000..ad0ab70 --- /dev/null +++ b/jre-1.8/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/jre-1.8/Makefile b/jre-1.8/Makefile new file mode 100644 index 0000000..61aae0a --- /dev/null +++ b/jre-1.8/Makefile @@ -0,0 +1,54 @@ +NAMESPACE = airdock +NAME = oracle-jdk +FULLNAME = $(NAMESPACE)/$(NAME) +VERSION = jre-8u66 + +.PHONY: all clean build tag_latest release debug run save start usage + +all: usage build + +clean: + @CID=$(docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(FULLNAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(FULLNAME)"; for container in $(CID); do docker rm -f $$container; done; fi; + @echo "Removing image $(FULLNAME)" + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then docker rmi -f $(FULLNAME):$(VERSION); fi + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F latest; then docker rmi -f $(FULLNAME):latest; fi + + +build: clean + docker build -t $(FULLNAME):$(VERSION) --rm . + +tag_latest: + @docker tag $(FULLNAME):$(VERSION) $(FULLNAME):latest + +release: build tag_latest + docker push $(FULLNAME) + @echo "Create a tag v-$(VERSION)" + @git tag v-$(VERSION) + @git push origin v-$(VERSION) + +debug: + @docker run -t -i $(FULLNAME):$(VERSION) /bin/bash + +save: + @OUTPUT_FILE = $(NAME)_$(VERSION)_`date +%Y%m%d%H%M%S`.tgz + @docker save $(FULLNAME):$(VERSION) | gzip --best --stdout > $(OUTPUT_FILE) + @echo "Image $(FULLNAME):$(VERSION) exported to $(OUTPUT_FILE)" + +run: + @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(FULLNAME):$(VERSION))) + +start: + @docker-machine start default + @eval "$(docker-machine env default)" + +usage: + @echo "List of target" + @echo "all (default): print usage and build" + @echo "clean: remove containers and image" + @echo "build: build docker image" + @echo "tag_latest: build and tag image with 'latest'" + @echo "debug: launch a shell with this image" + @echo "save: export this image" + @echo "run: launch this image with inner command" + @echo "start: start docker machine" + @echo "usage: this help" diff --git a/jre-1.8/README-short.md b/jre-1.8/README-short.md new file mode 100644 index 0000000..c24983e --- /dev/null +++ b/jre-1.8/README-short.md @@ -0,0 +1,3 @@ +# Oracle Java + +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jre-1.8/README.md b/jre-1.8/README.md new file mode 100644 index 0000000..7afeabf --- /dev/null +++ b/jre-1.8/README.md @@ -0,0 +1,135 @@ +# Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + + +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest + +This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). + +**Dependency**: airdock/base:latest + +**Few links**: + + - [Docker Java Image](https://github.com/dockerfile/java) + +## Supported Version + + > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + +###Latest tag per version and type + - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + + +###Specific version + - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u51](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u51) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u51.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u51 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u45](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u45) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u45.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u45 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u40](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u40) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u40.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u40 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u31](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u31) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u31.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u31 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') + + + +## Usage + +You should have already install [Docker](https://www.docker.com/). + +Execute: + + 'docker run -t -i airdock/oracle-jdk:latest java -version' + +Please note that a correct docker command should be something like this one (using java user defined): + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] +``` + +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +you could set a specific percent of memory (80 % per default) : + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + or + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] +``` +If you using this script take care of your host sizing. + + +## Change Log + +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + +### 1.1 + +- add specific tag on SDK version +- add build process to generate all JDK version target +- add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version +- Use tarball from Oracle in order to install JDK +- JAVA HOME is bellow /srv/java/jdk + +### 1.0 + +- add JAVA_HOME/bin in PATH +- add java-dynamic-memory-opts utility script (on 1.8 and latest version only) +- add webupd8team key +- add oracle jdk 8 and jdk 7 +- declare JAVA_HOME +- use MIT license + + +## Build + +You should install "make" utility. + +Under each project, you could retrieve a Makefile with a set of *tasks*: + +- **all**: alias to 'build' +- **clean**: remove all container which depends on this image, and remove image previously builded +- **build**: clean and build the current version +- **tag_latest**: tag current version with ":latest" +- **release**: build and execute tag_latest, push image onto registry, and tag git repository +- **debug**: launch an interactive shell using this image +- **run**: run image as daemon and print IP address. +- **save**: export docker image as a tar.gz file + +See [Docker Project Tree](https://github.com/airdock-io/docker-base/wiki/Docker-Project-Tree) for more details. + + +## MIT License + +``` +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ``` diff --git a/jre-1.8/java-dynamic-memory-opts b/jre-1.8/java-dynamic-memory-opts new file mode 100755 index 0000000..99ebe27 --- /dev/null +++ b/jre-1.8/java-dynamic-memory-opts @@ -0,0 +1,18 @@ +#!/bin/sh +# example usage: +# exec java $(java-dynamic-memory-opts 80) -jar myfatjar.jar + +# JVM uses only 1/4 of system memory by default +DEFAULT_MEM_JAVA_PERCENT=80 + +if [ -n "$1" ] + then + MEM_JAVA_PERCENT=$1 + else + MEM_JAVA_PERCENT=$DEFAULT_MEM_JAVA_PERCENT +fi + +MEM_TOTAL_KB=$(cat /proc/meminfo | grep MemTotal | awk '{print $2}') +MEM_JAVA_KB=$(($MEM_TOTAL_KB * $MEM_JAVA_PERCENT / 100)) + +echo "-Xmx${MEM_JAVA_KB}k" diff --git a/jre-7u80/.dockerignore b/jre-7u80/.dockerignore new file mode 100644 index 0000000..cfa8271 --- /dev/null +++ b/jre-7u80/.dockerignore @@ -0,0 +1,6 @@ +.git +.idea +*.md +Makefile +LICENSE +src diff --git a/jre-7u80/.gitignore b/jre-7u80/.gitignore new file mode 100644 index 0000000..f2c7c8f --- /dev/null +++ b/jre-7u80/.gitignore @@ -0,0 +1,41 @@ +# Created by https://www.gitignore.io + +### vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm + +*.iml + +## Directory-based project format: +.idea/ + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +build \ No newline at end of file diff --git a/jre-7u80/Dockerfile b/jre-7u80/Dockerfile new file mode 100644 index 0000000..f389159 --- /dev/null +++ b/jre-7u80/Dockerfile @@ -0,0 +1,24 @@ +# DESCRIPTION: Oracle Java jre-7u80 +# SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80 + +FROM airdock/base:latest +MAINTAINER Jerome Guibert + +# Add java dynamic memory script +COPY java-dynamic-memory-opts /srv/java/ + +# Install Oracle JDK 7u80-b15/jre-7u80 +RUN cd /tmp && \ + curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jre-7u80-linux-x64.tar.gz" && \ + tar xf jre-7u80-linux-x64.tar.gz -C /srv/java && \ + rm -f jre-7u80-linux-x64.tar.gz && \ + ln -s /srv/java/jre* /srv/java/jre && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ + chown -R java:java /srv/java && \ + /root/post-install + +# Define commonly used JAVA_HOME variable +ENV JAVA_HOME /srv/java/jre + +# Add /srv/java and jdk on PATH variable +ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java diff --git a/jre-7u80/LICENSE b/jre-7u80/LICENSE new file mode 100644 index 0000000..ad0ab70 --- /dev/null +++ b/jre-7u80/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/jre-7u80/Makefile b/jre-7u80/Makefile new file mode 100644 index 0000000..795de96 --- /dev/null +++ b/jre-7u80/Makefile @@ -0,0 +1,54 @@ +NAMESPACE = airdock +NAME = oracle-jdk +FULLNAME = $(NAMESPACE)/$(NAME) +VERSION = jre-7u80 + +.PHONY: all clean build tag_latest release debug run save start usage + +all: usage build + +clean: + @CID=$(docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(FULLNAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(FULLNAME)"; for container in $(CID); do docker rm -f $$container; done; fi; + @echo "Removing image $(FULLNAME)" + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then docker rmi -f $(FULLNAME):$(VERSION); fi + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F latest; then docker rmi -f $(FULLNAME):latest; fi + + +build: clean + docker build -t $(FULLNAME):$(VERSION) --rm . + +tag_latest: + @docker tag $(FULLNAME):$(VERSION) $(FULLNAME):latest + +release: build tag_latest + docker push $(FULLNAME) + @echo "Create a tag v-$(VERSION)" + @git tag v-$(VERSION) + @git push origin v-$(VERSION) + +debug: + @docker run -t -i $(FULLNAME):$(VERSION) /bin/bash + +save: + @OUTPUT_FILE = $(NAME)_$(VERSION)_`date +%Y%m%d%H%M%S`.tgz + @docker save $(FULLNAME):$(VERSION) | gzip --best --stdout > $(OUTPUT_FILE) + @echo "Image $(FULLNAME):$(VERSION) exported to $(OUTPUT_FILE)" + +run: + @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(FULLNAME):$(VERSION))) + +start: + @docker-machine start default + @eval "$(docker-machine env default)" + +usage: + @echo "List of target" + @echo "all (default): print usage and build" + @echo "clean: remove containers and image" + @echo "build: build docker image" + @echo "tag_latest: build and tag image with 'latest'" + @echo "debug: launch a shell with this image" + @echo "save: export this image" + @echo "run: launch this image with inner command" + @echo "start: start docker machine" + @echo "usage: this help" diff --git a/jre-7u80/README-short.md b/jre-7u80/README-short.md new file mode 100644 index 0000000..c24983e --- /dev/null +++ b/jre-7u80/README-short.md @@ -0,0 +1,3 @@ +# Oracle Java + +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jre-7u80/README.md b/jre-7u80/README.md new file mode 100644 index 0000000..7afeabf --- /dev/null +++ b/jre-7u80/README.md @@ -0,0 +1,135 @@ +# Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + + +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest + +This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). + +**Dependency**: airdock/base:latest + +**Few links**: + + - [Docker Java Image](https://github.com/dockerfile/java) + +## Supported Version + + > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + +###Latest tag per version and type + - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + + +###Specific version + - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u51](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u51) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u51.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u51 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u45](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u45) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u45.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u45 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u40](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u40) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u40.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u40 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u31](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u31) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u31.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u31 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') + + + +## Usage + +You should have already install [Docker](https://www.docker.com/). + +Execute: + + 'docker run -t -i airdock/oracle-jdk:latest java -version' + +Please note that a correct docker command should be something like this one (using java user defined): + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] +``` + +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +you could set a specific percent of memory (80 % per default) : + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + or + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] +``` +If you using this script take care of your host sizing. + + +## Change Log + +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + +### 1.1 + +- add specific tag on SDK version +- add build process to generate all JDK version target +- add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version +- Use tarball from Oracle in order to install JDK +- JAVA HOME is bellow /srv/java/jdk + +### 1.0 + +- add JAVA_HOME/bin in PATH +- add java-dynamic-memory-opts utility script (on 1.8 and latest version only) +- add webupd8team key +- add oracle jdk 8 and jdk 7 +- declare JAVA_HOME +- use MIT license + + +## Build + +You should install "make" utility. + +Under each project, you could retrieve a Makefile with a set of *tasks*: + +- **all**: alias to 'build' +- **clean**: remove all container which depends on this image, and remove image previously builded +- **build**: clean and build the current version +- **tag_latest**: tag current version with ":latest" +- **release**: build and execute tag_latest, push image onto registry, and tag git repository +- **debug**: launch an interactive shell using this image +- **run**: run image as daemon and print IP address. +- **save**: export docker image as a tar.gz file + +See [Docker Project Tree](https://github.com/airdock-io/docker-base/wiki/Docker-Project-Tree) for more details. + + +## MIT License + +``` +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ``` diff --git a/jre-7u80/java-dynamic-memory-opts b/jre-7u80/java-dynamic-memory-opts new file mode 100755 index 0000000..99ebe27 --- /dev/null +++ b/jre-7u80/java-dynamic-memory-opts @@ -0,0 +1,18 @@ +#!/bin/sh +# example usage: +# exec java $(java-dynamic-memory-opts 80) -jar myfatjar.jar + +# JVM uses only 1/4 of system memory by default +DEFAULT_MEM_JAVA_PERCENT=80 + +if [ -n "$1" ] + then + MEM_JAVA_PERCENT=$1 + else + MEM_JAVA_PERCENT=$DEFAULT_MEM_JAVA_PERCENT +fi + +MEM_TOTAL_KB=$(cat /proc/meminfo | grep MemTotal | awk '{print $2}') +MEM_JAVA_KB=$(($MEM_TOTAL_KB * $MEM_JAVA_PERCENT / 100)) + +echo "-Xmx${MEM_JAVA_KB}k" diff --git a/jre-8u65/.dockerignore b/jre-8u65/.dockerignore new file mode 100644 index 0000000..cfa8271 --- /dev/null +++ b/jre-8u65/.dockerignore @@ -0,0 +1,6 @@ +.git +.idea +*.md +Makefile +LICENSE +src diff --git a/jre-8u65/.gitignore b/jre-8u65/.gitignore new file mode 100644 index 0000000..f2c7c8f --- /dev/null +++ b/jre-8u65/.gitignore @@ -0,0 +1,41 @@ +# Created by https://www.gitignore.io + +### vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm + +*.iml + +## Directory-based project format: +.idea/ + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +build \ No newline at end of file diff --git a/jre-8u65/Dockerfile b/jre-8u65/Dockerfile new file mode 100644 index 0000000..0a66bfd --- /dev/null +++ b/jre-8u65/Dockerfile @@ -0,0 +1,24 @@ +# DESCRIPTION: Oracle Java jre-8u65 +# SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65 + +FROM airdock/base:latest +MAINTAINER Jerome Guibert + +# Add java dynamic memory script +COPY java-dynamic-memory-opts /srv/java/ + +# Install Oracle JDK 8u65-b17/jre-8u65 +RUN cd /tmp && \ + curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u65-b17/jre-8u65-linux-x64.tar.gz" && \ + tar xf jre-8u65-linux-x64.tar.gz -C /srv/java && \ + rm -f jre-8u65-linux-x64.tar.gz && \ + ln -s /srv/java/jre* /srv/java/jre && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ + chown -R java:java /srv/java && \ + /root/post-install + +# Define commonly used JAVA_HOME variable +ENV JAVA_HOME /srv/java/jre + +# Add /srv/java and jdk on PATH variable +ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java diff --git a/jre-8u65/LICENSE b/jre-8u65/LICENSE new file mode 100644 index 0000000..ad0ab70 --- /dev/null +++ b/jre-8u65/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/jre-8u65/Makefile b/jre-8u65/Makefile new file mode 100644 index 0000000..d44e698 --- /dev/null +++ b/jre-8u65/Makefile @@ -0,0 +1,54 @@ +NAMESPACE = airdock +NAME = oracle-jdk +FULLNAME = $(NAMESPACE)/$(NAME) +VERSION = jre-8u65 + +.PHONY: all clean build tag_latest release debug run save start usage + +all: usage build + +clean: + @CID=$(docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(FULLNAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(FULLNAME)"; for container in $(CID); do docker rm -f $$container; done; fi; + @echo "Removing image $(FULLNAME)" + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then docker rmi -f $(FULLNAME):$(VERSION); fi + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F latest; then docker rmi -f $(FULLNAME):latest; fi + + +build: clean + docker build -t $(FULLNAME):$(VERSION) --rm . + +tag_latest: + @docker tag $(FULLNAME):$(VERSION) $(FULLNAME):latest + +release: build tag_latest + docker push $(FULLNAME) + @echo "Create a tag v-$(VERSION)" + @git tag v-$(VERSION) + @git push origin v-$(VERSION) + +debug: + @docker run -t -i $(FULLNAME):$(VERSION) /bin/bash + +save: + @OUTPUT_FILE = $(NAME)_$(VERSION)_`date +%Y%m%d%H%M%S`.tgz + @docker save $(FULLNAME):$(VERSION) | gzip --best --stdout > $(OUTPUT_FILE) + @echo "Image $(FULLNAME):$(VERSION) exported to $(OUTPUT_FILE)" + +run: + @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(FULLNAME):$(VERSION))) + +start: + @docker-machine start default + @eval "$(docker-machine env default)" + +usage: + @echo "List of target" + @echo "all (default): print usage and build" + @echo "clean: remove containers and image" + @echo "build: build docker image" + @echo "tag_latest: build and tag image with 'latest'" + @echo "debug: launch a shell with this image" + @echo "save: export this image" + @echo "run: launch this image with inner command" + @echo "start: start docker machine" + @echo "usage: this help" diff --git a/jre-8u65/README-short.md b/jre-8u65/README-short.md new file mode 100644 index 0000000..c24983e --- /dev/null +++ b/jre-8u65/README-short.md @@ -0,0 +1,3 @@ +# Oracle Java + +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jre-8u65/README.md b/jre-8u65/README.md new file mode 100644 index 0000000..7afeabf --- /dev/null +++ b/jre-8u65/README.md @@ -0,0 +1,135 @@ +# Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + + +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest + +This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). + +**Dependency**: airdock/base:latest + +**Few links**: + + - [Docker Java Image](https://github.com/dockerfile/java) + +## Supported Version + + > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + +###Latest tag per version and type + - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + + +###Specific version + - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u51](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u51) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u51.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u51 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u45](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u45) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u45.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u45 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u40](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u40) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u40.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u40 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u31](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u31) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u31.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u31 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') + + + +## Usage + +You should have already install [Docker](https://www.docker.com/). + +Execute: + + 'docker run -t -i airdock/oracle-jdk:latest java -version' + +Please note that a correct docker command should be something like this one (using java user defined): + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] +``` + +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +you could set a specific percent of memory (80 % per default) : + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + or + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] +``` +If you using this script take care of your host sizing. + + +## Change Log + +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + +### 1.1 + +- add specific tag on SDK version +- add build process to generate all JDK version target +- add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version +- Use tarball from Oracle in order to install JDK +- JAVA HOME is bellow /srv/java/jdk + +### 1.0 + +- add JAVA_HOME/bin in PATH +- add java-dynamic-memory-opts utility script (on 1.8 and latest version only) +- add webupd8team key +- add oracle jdk 8 and jdk 7 +- declare JAVA_HOME +- use MIT license + + +## Build + +You should install "make" utility. + +Under each project, you could retrieve a Makefile with a set of *tasks*: + +- **all**: alias to 'build' +- **clean**: remove all container which depends on this image, and remove image previously builded +- **build**: clean and build the current version +- **tag_latest**: tag current version with ":latest" +- **release**: build and execute tag_latest, push image onto registry, and tag git repository +- **debug**: launch an interactive shell using this image +- **run**: run image as daemon and print IP address. +- **save**: export docker image as a tar.gz file + +See [Docker Project Tree](https://github.com/airdock-io/docker-base/wiki/Docker-Project-Tree) for more details. + + +## MIT License + +``` +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ``` diff --git a/jre-8u65/java-dynamic-memory-opts b/jre-8u65/java-dynamic-memory-opts new file mode 100755 index 0000000..99ebe27 --- /dev/null +++ b/jre-8u65/java-dynamic-memory-opts @@ -0,0 +1,18 @@ +#!/bin/sh +# example usage: +# exec java $(java-dynamic-memory-opts 80) -jar myfatjar.jar + +# JVM uses only 1/4 of system memory by default +DEFAULT_MEM_JAVA_PERCENT=80 + +if [ -n "$1" ] + then + MEM_JAVA_PERCENT=$1 + else + MEM_JAVA_PERCENT=$DEFAULT_MEM_JAVA_PERCENT +fi + +MEM_TOTAL_KB=$(cat /proc/meminfo | grep MemTotal | awk '{print $2}') +MEM_JAVA_KB=$(($MEM_TOTAL_KB * $MEM_JAVA_PERCENT / 100)) + +echo "-Xmx${MEM_JAVA_KB}k" diff --git a/jre-8u66/.dockerignore b/jre-8u66/.dockerignore new file mode 100644 index 0000000..cfa8271 --- /dev/null +++ b/jre-8u66/.dockerignore @@ -0,0 +1,6 @@ +.git +.idea +*.md +Makefile +LICENSE +src diff --git a/jre-8u66/.gitignore b/jre-8u66/.gitignore new file mode 100644 index 0000000..f2c7c8f --- /dev/null +++ b/jre-8u66/.gitignore @@ -0,0 +1,41 @@ +# Created by https://www.gitignore.io + +### vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm + +*.iml + +## Directory-based project format: +.idea/ + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +build \ No newline at end of file diff --git a/jre-8u66/Dockerfile b/jre-8u66/Dockerfile new file mode 100644 index 0000000..8e71346 --- /dev/null +++ b/jre-8u66/Dockerfile @@ -0,0 +1,24 @@ +# DESCRIPTION: Oracle Java jre-8u66 +# SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66 + +FROM airdock/base:latest +MAINTAINER Jerome Guibert + +# Add java dynamic memory script +COPY java-dynamic-memory-opts /srv/java/ + +# Install Oracle JDK 8u66-b17/jre-8u66 +RUN cd /tmp && \ + curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jre-8u66-linux-x64.tar.gz" && \ + tar xf jre-8u66-linux-x64.tar.gz -C /srv/java && \ + rm -f jre-8u66-linux-x64.tar.gz && \ + ln -s /srv/java/jre* /srv/java/jre && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ + chown -R java:java /srv/java && \ + /root/post-install + +# Define commonly used JAVA_HOME variable +ENV JAVA_HOME /srv/java/jre + +# Add /srv/java and jdk on PATH variable +ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java diff --git a/jre-8u66/LICENSE b/jre-8u66/LICENSE new file mode 100644 index 0000000..ad0ab70 --- /dev/null +++ b/jre-8u66/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/jre-8u66/Makefile b/jre-8u66/Makefile new file mode 100644 index 0000000..61aae0a --- /dev/null +++ b/jre-8u66/Makefile @@ -0,0 +1,54 @@ +NAMESPACE = airdock +NAME = oracle-jdk +FULLNAME = $(NAMESPACE)/$(NAME) +VERSION = jre-8u66 + +.PHONY: all clean build tag_latest release debug run save start usage + +all: usage build + +clean: + @CID=$(docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(FULLNAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(FULLNAME)"; for container in $(CID); do docker rm -f $$container; done; fi; + @echo "Removing image $(FULLNAME)" + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then docker rmi -f $(FULLNAME):$(VERSION); fi + @if docker images $(FULLNAME) | awk '{ print $$2 }' | grep -q -F latest; then docker rmi -f $(FULLNAME):latest; fi + + +build: clean + docker build -t $(FULLNAME):$(VERSION) --rm . + +tag_latest: + @docker tag $(FULLNAME):$(VERSION) $(FULLNAME):latest + +release: build tag_latest + docker push $(FULLNAME) + @echo "Create a tag v-$(VERSION)" + @git tag v-$(VERSION) + @git push origin v-$(VERSION) + +debug: + @docker run -t -i $(FULLNAME):$(VERSION) /bin/bash + +save: + @OUTPUT_FILE = $(NAME)_$(VERSION)_`date +%Y%m%d%H%M%S`.tgz + @docker save $(FULLNAME):$(VERSION) | gzip --best --stdout > $(OUTPUT_FILE) + @echo "Image $(FULLNAME):$(VERSION) exported to $(OUTPUT_FILE)" + +run: + @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(FULLNAME):$(VERSION))) + +start: + @docker-machine start default + @eval "$(docker-machine env default)" + +usage: + @echo "List of target" + @echo "all (default): print usage and build" + @echo "clean: remove containers and image" + @echo "build: build docker image" + @echo "tag_latest: build and tag image with 'latest'" + @echo "debug: launch a shell with this image" + @echo "save: export this image" + @echo "run: launch this image with inner command" + @echo "start: start docker machine" + @echo "usage: this help" diff --git a/jre-8u66/README-short.md b/jre-8u66/README-short.md new file mode 100644 index 0000000..c24983e --- /dev/null +++ b/jre-8u66/README-short.md @@ -0,0 +1,3 @@ +# Oracle Java + +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/jre-8u66/README.md b/jre-8u66/README.md new file mode 100644 index 0000000..7afeabf --- /dev/null +++ b/jre-8u66/README.md @@ -0,0 +1,135 @@ +# Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + + +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest + +This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). + +**Dependency**: airdock/base:latest + +**Few links**: + + - [Docker Java Image](https://github.com/dockerfile/java) + +## Supported Version + + > [airdock/oracle-jdk:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') + +###Latest tag per version and type + - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + + +###Specific version + - [airdock/oracle-jdk:jdk-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u60](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u60) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u60.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u60 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u51](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u51) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u51.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u51 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u45](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u45) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u45.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u45 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u40](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u40) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u40.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u40 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u31](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u31) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u31.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u31 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-8u25](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-8u25) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-8u25.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-8u25 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u80 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-7u79](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-7u79) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-7u79.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-7u79 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u66](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u66.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u66 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-8u65](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-8u65) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-8u65.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-8u65 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-7u80](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-7u80.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-7u80 'Get your own badge on imagelayers.io') + + + +## Usage + +You should have already install [Docker](https://www.docker.com/). + +Execute: + + 'docker run -t -i airdock/oracle-jdk:latest java -version' + +Please note that a correct docker command should be something like this one (using java user defined): + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] +``` + +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +you could set a specific percent of memory (80 % per default) : + +``` + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + or + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] +``` +If you using this script take care of your host sizing. + + +## Change Log + +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + +### 1.1 + +- add specific tag on SDK version +- add build process to generate all JDK version target +- add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version +- Use tarball from Oracle in order to install JDK +- JAVA HOME is bellow /srv/java/jdk + +### 1.0 + +- add JAVA_HOME/bin in PATH +- add java-dynamic-memory-opts utility script (on 1.8 and latest version only) +- add webupd8team key +- add oracle jdk 8 and jdk 7 +- declare JAVA_HOME +- use MIT license + + +## Build + +You should install "make" utility. + +Under each project, you could retrieve a Makefile with a set of *tasks*: + +- **all**: alias to 'build' +- **clean**: remove all container which depends on this image, and remove image previously builded +- **build**: clean and build the current version +- **tag_latest**: tag current version with ":latest" +- **release**: build and execute tag_latest, push image onto registry, and tag git repository +- **debug**: launch an interactive shell using this image +- **run**: run image as daemon and print IP address. +- **save**: export docker image as a tar.gz file + +See [Docker Project Tree](https://github.com/airdock-io/docker-base/wiki/Docker-Project-Tree) for more details. + + +## MIT License + +``` +The MIT License (MIT) + +Copyright (c) 2015 Airdock.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ``` diff --git a/jre-8u66/java-dynamic-memory-opts b/jre-8u66/java-dynamic-memory-opts new file mode 100755 index 0000000..99ebe27 --- /dev/null +++ b/jre-8u66/java-dynamic-memory-opts @@ -0,0 +1,18 @@ +#!/bin/sh +# example usage: +# exec java $(java-dynamic-memory-opts 80) -jar myfatjar.jar + +# JVM uses only 1/4 of system memory by default +DEFAULT_MEM_JAVA_PERCENT=80 + +if [ -n "$1" ] + then + MEM_JAVA_PERCENT=$1 + else + MEM_JAVA_PERCENT=$DEFAULT_MEM_JAVA_PERCENT +fi + +MEM_TOTAL_KB=$(cat /proc/meminfo | grep MemTotal | awk '{print $2}') +MEM_JAVA_KB=$(($MEM_TOTAL_KB * $MEM_JAVA_PERCENT / 100)) + +echo "-Xmx${MEM_JAVA_KB}k" diff --git a/oracle-java7/Dockerfile b/oracle-java7/Dockerfile deleted file mode 100644 index 41424d9..0000000 --- a/oracle-java7/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -# VERSION 1.0 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 7 -# TO_BUILD: docker build --rm -t airdock/oracle-jdk:1.7 . -# SOURCE: https://github.com/airdock-io/docker-oracle-jdk - -# Pull base image. -FROM airdock/base:latest - -MAINTAINER Jerome Guibert - -# add webupd8 repository and Oracle JDK 7 -RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list && \ - echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list && \ - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \ - apt-get update -qq && \ - echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \ - echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections && \ - apt-get install -y --force-yes oracle-java7-installer oracle-java7-set-default && \ - /root/post-install - -# Define commonly used JAVA_HOME variable -ENV JAVA_HOME /usr/lib/jvm/java-7-oracle diff --git a/oracle-java7/Makefile b/oracle-java7/Makefile deleted file mode 100644 index dad17f5..0000000 --- a/oracle-java7/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -NAME = airdock/oracle-jdk -VERSION = 1.7 - -.PHONY: all clean build tag_latest release debug run - -all: build - -clean: - @CID=$(shell docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(NAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(NAME)"; for container in $(CID); do docker rm -f $$container; done; fi; - @if docker images $(NAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then docker rmi -f $(NAME):$(VERSION); fi - @if docker images $(NAME) | awk '{ print $$2 }' | grep -q -F latest; then docker rmi -f $(NAME):latest; fi - - -build: clean - docker build -t $(NAME):$(VERSION) --rm . - -tag_latest: - @docker tag $(NAME):$(VERSION) $(NAME):latest - -release: build tag_latest - docker push $(NAME) - @echo "Create a tag v-$(VERSION)" - @git tag v-$(VERSION) - @git push origin v-$(VERSION) - -debug: - docker run -t -i $(NAME):$(VERSION) - -run: - @echo "IPAddress =" $$(docker inspect --format '{{.NetworkSettings.IPAddress}}' $$(docker run -d $(NAME):$(VERSION))) diff --git a/oracle-java8/Dockerfile b/oracle-java8/Dockerfile deleted file mode 100644 index f3ca667..0000000 --- a/oracle-java8/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -# VERSION 1.0 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java 8 -# TO_BUILD: docker build --rm -t airdock/oracle-jdk:1.8 . -# SOURCE: https://github.com/airdock-io/docker-oracle-jdk - -# Pull base image. -FROM airdock/base:latest - -MAINTAINER Jerome Guibert - -# add webupd8 repository and Oracle JDK 8 -RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list && \ - echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list && \ - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \ - apt-get update -qq && \ - echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \ - echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections && \ - apt-get install -y --force-yes oracle-java8-installer oracle-java8-set-default && \ - /root/post-install - -# Define commonly used JAVA_HOME variable -ENV JAVA_HOME /usr/lib/jvm/java-8-oracle - -# Add java dynamic memory script -COPY java-dynamic-memory-opts /srv/java/ - -# Add /srv/java on PATH variable -ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java \ No newline at end of file diff --git a/src/README.md b/src/README.md index 11cf2e5..ea73670 100644 --- a/src/README.md +++ b/src/README.md @@ -1,7 +1,7 @@ # Oracle Java [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io') -Docker Image for Oracle Java SDK based on airdock/base:latest +Docker Image for Oracle Java SDK (JDK and JRE) based on airdock/base:latest This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s [automated build](https://registry.hub.docker.com/u/airdock/) published to the public [Docker Hub Registry](https://registry.hub.docker.com/). @@ -27,29 +27,35 @@ Execute: Please note that a correct docker command should be something like this one (using java user defined): ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", ... ] ``` -JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, +JVM uses only 1/4 of system memory by default, with script java-dynamic-memory-opts, you could set a specific percent of memory (80 % per default) : ``` - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts)", ... ] or - CMD [ "gosu", "java:java", "/srv/java/jdk/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] + CMD [ "gosu", "java:java", "/srv/java/jvm/bin/java", "$(/srv/java/java-dynamic-memory-opts 90)", ... ] ``` If you using this script take care of your host sizing. ## Change Log +### 1.2 + +- add JRE version +- JAVA HOME is bellow /srv/java/jdk or /srv/java/jre +- add shorlink /srv/java/jvm to simplify command line and absolute path + ### 1.1 - add specific tag on SDK version -- add build process to generate all JDK version target +- add build process to generate all JDK version target - add JAVA_HOME/bin in PATH, java-dynamic-memory-opts utility script for all version - Use tarball from Oracle in order to install JDK -- JDK HOME is bellow /srv/java/jdk +- JAVA HOME is bellow /srv/java/jdk ### 1.0 diff --git a/src/docker/README-short.md b/src/docker/README-short.md index 792a1ad..c24983e 100644 --- a/src/docker/README-short.md +++ b/src/docker/README-short.md @@ -1,3 +1,3 @@ # Oracle Java -Docker Image for Oracle Java SDK +Docker Image for Oracle Java SDK (JDK and JRE) diff --git a/src/generate.sh b/src/generate.sh index 7c0436d..77ac463 100755 --- a/src/generate.sh +++ b/src/generate.sh @@ -1,14 +1,21 @@ #!/bin/bash # supported version -VERSION_LIST="8u66-b17/jdk-8u66 8u65-b17/jdk-8u65 8u60-b27/jdk-8u60 8u51-b16/jdk-8u51 \ +JDK_VERSION_LIST="8u66-b17/jdk-8u66 8u65-b17/jdk-8u65 8u60-b27/jdk-8u60 8u51-b16/jdk-8u51 \ 8u45-b14/jdk-8u45 8u40-b25/jdk-8u40 8u31-b13/jdk-8u31 8u25-b17/jdk-8u25 \ - 7u80-b15/jdk-7u80 7u79-b15/jdk-7u79" + 7u80-b15/jdk-7u80 7u79-b15/jdk-7u79 \ + " +JRE_VERSION_LIST="8u66-b17/jre-8u66 8u65-b17/jre-8u65 \ + 7u80-b15/jre-7u80 \ + " # special tag LATEST_VERSION="jdk-8u66" -TAG_JAVA_8="jdk-8u66" -TAG_JAVA_7="jdk-7u80" +TAG_JDK_8="jdk-8u66" +TAG_JRE_8="jre-8u66" +TAG_JDK_7="jdk-7u80" +TAG_JRE_7="jre-7u80" + # project definition NAMESPACE="airdock" @@ -34,10 +41,12 @@ clean() { } -# generate docker source for a specific version prefix ($1) +# generate docker source for a specific version ($1) and prefix $2 (jre or jdk) generate() { version_prefix=$1 + prefix=$2 folder=$(basename $version_prefix) + prefix=${folder:0:3} version=${version_prefix##*/jdk-} version_url=${BASE_URL}${version_prefix}${PLATFORM} target_folder=${TARGET_DIR}/${folder} @@ -57,7 +66,8 @@ generate() { sed -e "s;%NAMESPACE%;$NAMESPACE;g" -e "s;%NAME%;$NAME;g" \ -e "s;%FOLDER%;$folder;g" -e "s;%VERSION%;$version;g" \ -e "s;%VERSION_URL%;$version_url;g" -e "s;%README_VERSION%;$README_VERSION;g" \ - $template > $template_output + -e "s;%PREFIX%;$prefix;g" \ + $template > $template_output done; } @@ -67,14 +77,21 @@ generateReadMe() { NL="NEWLINE" # special tag readme="${readme} > [${FULLNAME}:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (${LATEST_VERSION}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io')${NL}${NL}" - readme="${readme} - [${FULLNAME}:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (${TAG_JAVA_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io')${NL}${NL}" - readme="${readme} - [${FULLNAME}:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (${TAG_JAVA_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io')${NL}${NL}${NL}" - # Version - for supported_version in $VERSION_LIST; do + readme="${readme}###Latest tag per version and type${NL}" + readme="${readme} - [${FULLNAME}:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (${TAG_JDK_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (${TAG_JRE_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (${TAG_JDK_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (${TAG_JRE_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io')${NL}${NL}${NL}" + readme="${readme}###Specific version${NL}" + # Version + for supported_version in $JDK_VERSION_LIST; do folder=$(basename $supported_version) readme="${readme} - [${FULLNAME}:${folder}](https://github.com/airdock-io/docker-oracle-jdk/tree/master/${folder}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:${folder}.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:${folder} 'Get your own badge on imagelayers.io')${NL}" done; - + for supported_version in $JRE_VERSION_LIST; do + folder=$(basename $supported_version) + readme="${readme} - [${FULLNAME}:${folder}](https://github.com/airdock-io/docker-oracle-jdk/tree/master/${folder}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:${folder}.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:${folder} 'Get your own badge on imagelayers.io')${NL}" + done; sed -e "s;%README_VERSION%;$readme;g" -e "s;NEWLINE;\n;g" ${SRC_DIR}/README.md > ${BUILD_DIR}/README.md } @@ -107,14 +124,20 @@ mkdir -p ${BUILD_DIR} generateReadMe # build each version -for supported_version in $VERSION_LIST; do +for supported_version in $JDK_VERSION_LIST; do + generate $supported_version +done; +for supported_version in $JRE_VERSION_LIST; do generate $supported_version done; # generate special tag -generateTag "jdk-1.8" ${TAG_JAVA_8} -generateTag "jdk-1.7" ${TAG_JAVA_7} +generateTag "jdk-1.8" ${TAG_JDK_8} +generateTag "jre-1.8" ${TAG_JRE_8} + +generateTag "jdk-1.7" ${TAG_JDK_7} +generateTag "jre-1.7" ${TAG_JRE_7} # generate latest generateLatest diff --git a/src/template/Dockerfile b/src/template/Dockerfile index 774c172..4525f16 100644 --- a/src/template/Dockerfile +++ b/src/template/Dockerfile @@ -1,7 +1,4 @@ -# VERSION 1.1 -# AUTHOR: Jerome Guibert -# DESCRIPTION: Oracle Java %VERSION% -# TO_BUILD: make build +# DESCRIPTION: Oracle Java %FOLDER% # SOURCE: https://github.com/airdock-io/docker-oracle-jdk/tree/master/%FOLDER% FROM airdock/base:latest @@ -11,16 +8,17 @@ MAINTAINER Jerome Guibert COPY java-dynamic-memory-opts /srv/java/ # Install Oracle JDK %VERSION% -RUN cd /srv/java && \ +RUN cd /tmp && \ curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "%VERSION_URL%" && \ - tar xvf %FOLDER%-linux-x64.tar.gz -C /srv/java && \ + tar xf %FOLDER%-linux-x64.tar.gz -C /srv/java && \ rm -f %FOLDER%-linux-x64.tar.gz && \ - ln -s /srv/java/jdk1.* /srv/java/jdk && \ + ln -s /srv/java/%PREFIX%* /srv/java/%PREFIX% && \ + ln -s /srv/java/%PREFIX /srv/java/jvm && \ chown -R java:java /srv/java && \ /root/post-install # Define commonly used JAVA_HOME variable -ENV JAVA_HOME /srv/java/jdk +ENV JAVA_HOME /srv/java/%PREFIX% # Add /srv/java and jdk on PATH variable ENV PATH ${PATH}:${JAVA_HOME}/bin:/srv/java diff --git a/src/template/Makefile b/src/template/Makefile index 2d8b298..ac32642 100644 --- a/src/template/Makefile +++ b/src/template/Makefile @@ -1,7 +1,7 @@ NAMESPACE = %NAMESPACE% NAME = %NAME% FULLNAME = $(NAMESPACE)/$(NAME) -VERSION = %VERSION% +VERSION = %FOLDER% .PHONY: all clean build tag_latest release debug run save start usage @@ -51,4 +51,4 @@ usage: @echo "save: export this image" @echo "run: launch this image with inner command" @echo "start: start docker machine" - @echo "usage: this help" \ No newline at end of file + @echo "usage: this help" From 292b4dc620144aed10c0879d37b3996bcf3d247f Mon Sep 17 00:00:00 2001 From: Jerome Guibert Date: Mon, 8 Feb 2016 02:24:54 +0100 Subject: [PATCH 2/2] finalize readme and add two tag --- README.md | 8 +++++--- jdk-1.7/README.md | 8 +++++--- jdk-1.8/README.md | 8 +++++--- jdk-7u79/README.md | 8 +++++--- jdk-7u80/README.md | 8 +++++--- jdk-8u25/README.md | 8 +++++--- jdk-8u31/README.md | 8 +++++--- jdk-8u40/README.md | 8 +++++--- jdk-8u45/README.md | 8 +++++--- jdk-8u51/README.md | 8 +++++--- jdk-8u60/README.md | 8 +++++--- jdk-8u65/README.md | 8 +++++--- jdk-8u66/README.md | 8 +++++--- jre-1.7/README.md | 8 +++++--- jre-1.8/README.md | 8 +++++--- jre-7u80/README.md | 8 +++++--- jre-8u65/README.md | 8 +++++--- jre-8u66/README.md | 8 +++++--- src/generate.sh | 8 +++++--- 19 files changed, 95 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 7afeabf..3967f67 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-1.7/README.md b/jdk-1.7/README.md index 7afeabf..3967f67 100644 --- a/jdk-1.7/README.md +++ b/jdk-1.7/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-1.8/README.md b/jdk-1.8/README.md index 7afeabf..3967f67 100644 --- a/jdk-1.8/README.md +++ b/jdk-1.8/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-7u79/README.md b/jdk-7u79/README.md index 7afeabf..3967f67 100644 --- a/jdk-7u79/README.md +++ b/jdk-7u79/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-7u80/README.md b/jdk-7u80/README.md index 7afeabf..3967f67 100644 --- a/jdk-7u80/README.md +++ b/jdk-7u80/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u25/README.md b/jdk-8u25/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u25/README.md +++ b/jdk-8u25/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u31/README.md b/jdk-8u31/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u31/README.md +++ b/jdk-8u31/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u40/README.md b/jdk-8u40/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u40/README.md +++ b/jdk-8u40/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u45/README.md b/jdk-8u45/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u45/README.md +++ b/jdk-8u45/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u51/README.md b/jdk-8u51/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u51/README.md +++ b/jdk-8u51/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u60/README.md b/jdk-8u60/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u60/README.md +++ b/jdk-8u60/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u65/README.md b/jdk-8u65/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u65/README.md +++ b/jdk-8u65/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jdk-8u66/README.md b/jdk-8u66/README.md index 7afeabf..3967f67 100644 --- a/jdk-8u66/README.md +++ b/jdk-8u66/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jre-1.7/README.md b/jre-1.7/README.md index 7afeabf..3967f67 100644 --- a/jre-1.7/README.md +++ b/jre-1.7/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jre-1.8/README.md b/jre-1.8/README.md index 7afeabf..3967f67 100644 --- a/jre-1.8/README.md +++ b/jre-1.8/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jre-7u80/README.md b/jre-7u80/README.md index 7afeabf..3967f67 100644 --- a/jre-7u80/README.md +++ b/jre-7u80/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jre-8u65/README.md b/jre-8u65/README.md index 7afeabf..3967f67 100644 --- a/jre-8u65/README.md +++ b/jre-8u65/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/jre-8u66/README.md b/jre-8u66/README.md index 7afeabf..3967f67 100644 --- a/jre-8u66/README.md +++ b/jre-8u66/README.md @@ -17,9 +17,11 @@ This repository contains **Dockerfile** for [Docker](https://www.docker.com/)'s ###Latest tag per version and type - [airdock/oracle-jdk:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') - - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (jre-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-8u66) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (jdk-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io') + - [airdock/oracle-jdk:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (jre-7u80) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io') ###Specific version diff --git a/src/generate.sh b/src/generate.sh index 77ac463..bf39a27 100755 --- a/src/generate.sh +++ b/src/generate.sh @@ -79,9 +79,11 @@ generateReadMe() { readme="${readme} > [${FULLNAME}:latest](https://github.com/airdock-io/docker-oracle-jdk/tree/master/) (${LATEST_VERSION}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:latest.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:latest 'Get your own badge on imagelayers.io')${NL}${NL}" readme="${readme}###Latest tag per version and type${NL}" readme="${readme} - [${FULLNAME}:1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (${TAG_JDK_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io')${NL}" - readme="${readme} - [${FULLNAME}:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (${TAG_JRE_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.8 'Get your own badge on imagelayers.io')${NL}" - readme="${readme} - [${FULLNAME}:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (${TAG_JDK_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io')${NL}" - readme="${readme} - [${FULLNAME}:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (${TAG_JRE_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io')${NL}${NL}${NL}" + readme="${readme} - [${FULLNAME}:jdk-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.8) (${TAG_JDK_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.8 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:jre-1.8](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.8) (${TAG_JRE_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.8.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.8 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (${TAG_JDK_8}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:1.7 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:jdk-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jdk-1.7) (${TAG_JDK_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jdk-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jdk-1.7 'Get your own badge on imagelayers.io')${NL}" + readme="${readme} - [${FULLNAME}:jre-1.7](https://github.com/airdock-io/docker-oracle-jdk/tree/master/jre-1.7) (${TAG_JRE_7}) [![](https://badge.imagelayers.io/airdock/oracle-jdk:jre-1.7.svg)](https://imagelayers.io/?images=airdock/oracle-jdk:jre-1.7 'Get your own badge on imagelayers.io')${NL}${NL}${NL}" readme="${readme}###Specific version${NL}" # Version for supported_version in $JDK_VERSION_LIST; do