Skip to content

Commit

Permalink
Downgrade of JRE due to compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
exsilium committed Aug 12, 2021
1 parent 4365324 commit 6daf1f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6daf1f6

Please sign in to comment.