From dec2452ea237ca7f6b675316f3312ba8097fb740 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 23 Sep 2016 22:49:11 +0000
Subject: [PATCH] Update UniFi Controller to version 5.2.7

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

diff --git a/Dockerfile b/Dockerfile
index ae72f41..3e3ec54 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM debian
 MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
 
-ENV UNIFI_VERSION 4.8.18
+ENV UNIFI_VERSION 5.2.7
 
 RUN apt-get update \
 	&& apt-get -y dist-upgrade \
@@ -9,9 +9,9 @@
 	&& apt-get -y clean
 
 RUN cd /tmp \
-	&& wget "http://dl.ubnt.com/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb" \
+	&& wget "https://www.ubnt.com/downloads/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb" \
 	&& dpkg -i unifi_sysvinit_all.deb \
-	&& rm -rf /var/lib/unifi/*
+	&& rm -rf unifi_sysvinit_all.deb /var/lib/unifi/*
 
 EXPOSE 8080 8081 8443 8843 8880
 

--
Gitblit v1.9.1