Browse Source

Reduce number of layers

5.2.7
Chris Smith 8 years ago
parent
commit
fb9b800fbe
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Dockerfile

+ 2
- 1
Dockerfile View File

@@ -13,7 +13,8 @@ RUN \
13 13
 
14 14
 RUN curl -L -o unifi_sysvinit_all.deb http://www.ubnt.com/downloads/unifi/4.8.18/unifi_sysvinit_all.deb && \
15 15
   dpkg --install unifi_sysvinit_all.deb && \
16
-  rm unifi_sysvinit_all.deb
16
+  rm unifi_sysvinit_all.deb && \
17
+  ln -s /var/lib/unifi /usr/lib/unifi/data
17 18
 
18 19
 RUN ln -s /var/lib/unifi /usr/lib/unifi/data
19 20
 

Loading…
Cancel
Save