From 252e50861a69d9c25c3e98effc39c2a2e23fba37 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 16 Jun 2019 18:29:42 +0000
Subject: [PATCH] Use debian as base - openjdk no longer uses Debian Java packages

---
 Dockerfile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 6b2dda1..9e9d06d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
-FROM openjdk:8-jre-slim
+FROM debian:stretch
 MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
 
-ENV UNIFI_VERSION 5.8.28
+ENV UNIFI_VERSION 5.10.24
 
 RUN apt-get update \
 	&& apt-get -y install \
@@ -10,7 +10,7 @@
 	&& rm -Rf /var/lib/apt/lists/*
 
 RUN cd /tmp \
-	&& wget "https://www.ubnt.com/downloads/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb" \
+	&& wget "https://dl.ubnt.com/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb" \
 	&& groupadd -r -g 500 unifi \
 	&& useradd -r -d /usr/lib/unifi -u 500 -g 500 unifi \
 	&& dpkg -i unifi_sysvinit_all.deb \

--
Gitblit v1.9.1