From 012faf559522b51c9fe32a9053576d3c4ed6da7e Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 14 Mar 2017 09:42:03 +0000
Subject: [PATCH] Rundeck 2.7 profile file migration

---
 Dockerfile |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index c95da31..8ebe6da 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,13 +4,16 @@
 
 EXPOSE 4440
 
-ADD bintray-gpg.key rundeck-gpg.key /root/
+ADD *-gpg.key /root/
 RUN echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" > /etc/apt/sources.list.d/rundeck.list \
-	&& apt-key add /root/bintray-gpg.key /root/rundeck-gpg.key
+	&& 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