From 0194f2e5ec956cf1f2aecc4b179290563f04a8c6 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 14 Mar 2017 09:05:17 +0000
Subject: [PATCH] Install Java 8, as required for Rundeck 2.7

---
 Dockerfile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index acad23f..8ebe6da 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,9 +8,12 @@
 RUN echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" > /etc/apt/sources.list.d/rundeck.list \
 	&& cat /root/*-gpg.key | apt-key add -
 
-RUN apt-get -y update \
+RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' > \
+		/etc/apt/sources.list.d/jessie-backports.list \
+	&& apt-get -y update \
 	&& apt-get -y upgrade \
-	&& apt-get -y install openssh-client default-jre-headless wget rundeck \
+	&& apt-get -y -t jessie-backports install \
+		openssh-client openjdk-8-jre-headless wget rundeck \
 	&& apt-get -y clean
 
 RUN mkdir /etc/rundeck-org \

--
Gitblit v1.9.1