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 | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 325682f..b5e20f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ FROM debian MAINTAINER Jacek Kowalski <Jacek@jacekk.info> -ENV OPENFIRE_VERSION 4.0.1 +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