Sfoglia il codice sorgente

upgraded to 7.2.97

tags/1.0.0^0
Robin Thoni 1 anno fa
parent
commit
d63db2f0f1
Firmato da: Robin THONI <robin@rthoni.com> ID Chiave GPG: 4E09DEF46B99E61E
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2
    2
      unifi-controller/Dockerfile
  2. 1
    1
      unifi-controller/docker-build.sh

+ 2
- 2
unifi-controller/Dockerfile Vedi File

@@ -4,8 +4,6 @@ LABEL maintainer="Jacob Alberty <jacob.alberty@foundigital.com>"
4 4
 
5 5
 ARG DEBIAN_FRONTEND=noninteractive
6 6
 
7
-ENV PKGURL=https://dl.ubnt.com/unifi/5.10.17/unifi_sysvinit_all.deb
8
-
9 7
 ENV BASEDIR=/usr/lib/unifi \
10 8
     DATADIR=/unifi/data \
11 9
     LOGDIR=/unifi/log \
@@ -66,6 +64,8 @@ RUN chmod +x /usr/local/bin/docker-entrypoint.sh \
66 64
  && chmod +x /usr/local/bin/docker-healthcheck.sh \
67 65
  && chmod +x /usr/local/bin/docker-build.sh
68 66
 
67
+ENV PKGURL=https://dl.ubnt.com/unifi/7.2.97/unifi_sysvinit_all.deb
68
+
69 69
 # Push installing openjdk-8-jre first, so that the unifi package doesn't pull in openjdk-7-jre as a dependency? Else uncomment and just go with openjdk-7.
70 70
 RUN set -ex \
71 71
  && mkdir -p /usr/share/man/man1/ \

+ 1
- 1
unifi-controller/docker-build.sh Vedi File

@@ -47,7 +47,7 @@ rm -f ./unifi.deb
47 47
 chown -R unifi:unifi /usr/lib/unifi
48 48
 rm -rf /var/lib/apt/lists/*
49 49
 
50
-rm -rf ${ODATADIR} ${OLOGDIR}
50
+rm -rf ${ODATADIR} ${OLOGDIR} ${BASEDIR}/*
51 51
 mkdir -p ${DATADIR} ${LOGDIR}
52 52
 ln -s ${DATADIR} ${BASEDIR}/data
53 53
 ln -s ${RUNDIR} ${BASEDIR}/run

Loading…
Annulla
Salva