From 6daf1f67de0d5b69fea01ad7910e4bc7fa5790d4 Mon Sep 17 00:00:00 2001 From: Exile Date: Thu, 12 Aug 2021 15:57:01 +0300 Subject: [PATCH] Downgrade of JRE due to compatibility --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b8b5700..9474d78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,14 @@ FROM phusion/baseimage:0.11 ENV DEBIAN_FRONTEND noninteractive RUN curl -sS https://dl.ubnt.com/firmwares/ufv/v3.10.11/unifi-video.Ubuntu18.04_amd64.v3.10.11.deb > /tmp/unifi-video.deb +RUN curl -sS http://launchpadlibrarian.net/505954411/openjdk-8-jre-headless_8u275-b01-0ubuntu1~18.04_amd64.deb > /tmp/jre.deb # Bring in the latest and greatest RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" # Install unifi-video dependencies and the core package itself -RUN apt-get install -y mongodb-server openjdk-8-jre-headless jsvc sudo +RUN apt-get install -y mongodb-server jsvc sudo libx11-6 libxext6 libxi6 libxrender1 libxtst6 +RUN dpkg -i /tmp/jre.deb && rm /tmp/jre.deb RUN dpkg -i /tmp/unifi-video.deb && rm /tmp/unifi-video.deb RUN apt-get update && apt-get -f install