From 79eae0ee2cb8abac78f72490029103ef498b87f3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 29 Oct 2016 12:26:02 +0000
Subject: [PATCH] Update UniFi Controller to version 5.2.9

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

diff --git a/Dockerfile b/Dockerfile
index 64dabc8..48fc853 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM debian
 MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
 
-ENV UNIFI_VERSION 4.8.16
+ENV UNIFI_VERSION 5.2.9
 
 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