From bcf0fea5a62cb2a75015e2dc2ce05bbc89afcd7d Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Fri, 10 Oct 2014 14:26:01 +0200 Subject: [PATCH 1/2] OpenJDK 8 JRE version --- openjdk-8-jre/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 openjdk-8-jre/Dockerfile diff --git a/openjdk-8-jre/Dockerfile b/openjdk-8-jre/Dockerfile new file mode 100644 index 00000000..6161e036 --- /dev/null +++ b/openjdk-8-jre/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:sid + +# A few problems with compiling Java from source: +# 1. Oracle. Licensing prevents us from redistributing the official JDK. +# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets +# really hairy. + +ENV JAVA_VERSION 8u40 + +RUN apt-get update && apt-get install -y curl openjdk-8-jre-headless="$JAVA_VERSION"* unzip wget + +# If you're reading this and have any feedback on how this image could be +# improved, please open an issue or a pull request so we can discuss it! From d2acc0356b5a68a4d168462a3f5f0e29444982b9 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Fri, 10 Oct 2014 22:45:09 +0200 Subject: [PATCH 2/2] Added Dockerfiles for java 6 & 7 as well --- openjdk-6-jre/Dockerfile | 13 +++++++++++++ openjdk-7-jre/Dockerfile | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 openjdk-6-jre/Dockerfile create mode 100644 openjdk-7-jre/Dockerfile diff --git a/openjdk-6-jre/Dockerfile b/openjdk-6-jre/Dockerfile new file mode 100644 index 00000000..d0cbae44 --- /dev/null +++ b/openjdk-6-jre/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:wheezy + +# A few problems with compiling Java from source: +# 1. Oracle. Licensing prevents us from redistributing the official JDK. +# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets +# really hairy. + +ENV JAVA_VERSION 6b32 + +RUN apt-get update && apt-get install -y curl openjdk-6-jre-headless="$JAVA_VERSION"* unzip wget + +# If you're reading this and have any feedback on how this image could be +# improved, please open an issue or a pull request so we can discuss it! diff --git a/openjdk-7-jre/Dockerfile b/openjdk-7-jre/Dockerfile new file mode 100644 index 00000000..d7033685 --- /dev/null +++ b/openjdk-7-jre/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:jessie + +# A few problems with compiling Java from source: +# 1. Oracle. Licensing prevents us from redistributing the official JDK. +# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets +# really hairy. + +ENV JAVA_VERSION 7u65 + +RUN apt-get update && apt-get install -y curl openjdk-7-jre-headless="$JAVA_VERSION"* unzip wget + +# If you're reading this and have any feedback on how this image could be +# improved, please open an issue or a pull request so we can discuss it!