From 4cd1b8832a933efe4397cfb2a64fdf200ae3f6cd Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 18 Dec 2016 00:53:01 +0000 Subject: [PATCH] Use Java 8 - fixes fix java.lang.NoSuchMethodError errors --- Dockerfile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d1e5107..b5e20f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ ENV OPENFIRE_VERSION 4.0.2 -RUN apt-get -y update \ - && apt-get -y install openjdk-7-jre-headless wget sudo \ +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 -t jessie-backports install openjdk-8-jre-headless wget sudo \ && apt-get -y clean RUN cd /tmp \ -- Gitblit v1.9.1