From 77a94817890e090a5341ee5b789a3ee800934a03 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 11 Jun 2016 16:07:25 +0000
Subject: [PATCH] Remove Debian package after installation

---
 Dockerfile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index d61592d..79c6cfd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM debian
 MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
 
-ENV UNIFI_VERSION 4.8.14
+ENV UNIFI_VERSION 4.8.18
 
 RUN apt-get update \
 	&& apt-get -y dist-upgrade \
@@ -11,7 +11,7 @@
 RUN cd /tmp \
 	&& wget "http://dl.ubnt.com/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