aboutsummaryrefslogtreecommitdiff
path: root/unifi
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2019-10-30 04:29:08 +0000
committerMike Crute <mike@crute.us>2019-10-30 04:29:08 +0000
commit9d079551df8298136fce6aa8aea3bcc22d70ced1 (patch)
treefd541c39f012d637f9a046a2af88b67152ab7da1 /unifi
parentb6a784ec28a1880a15993d14f2afe0906b864cdb (diff)
downloaddockerfiles-9d079551df8298136fce6aa8aea3bcc22d70ced1.tar.bz2
dockerfiles-9d079551df8298136fce6aa8aea3bcc22d70ced1.tar.xz
dockerfiles-9d079551df8298136fce6aa8aea3bcc22d70ced1.zip
Upgrade Unifi to 5.12.22
Diffstat (limited to 'unifi')
-rw-r--r--unifi/Makefile4
-rwxr-xr-xunifi/entrypoint.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/unifi/Makefile b/unifi/Makefile
index fd3ef53..45e6da5 100644
--- a/unifi/Makefile
+++ b/unifi/Makefile
@@ -1,9 +1,9 @@
1VERSION=5.11.46 1VERSION=5.12.22
2IMAGE=docker.crute.me/unifi:$(VERSION) 2IMAGE=docker.crute.me/unifi:$(VERSION)
3LATEST=$(subst :$(VERSION),,$(IMAGE)):latest 3LATEST=$(subst :$(VERSION),,$(IMAGE)):latest
4 4
5DEB_LOCATION="https://dl.ui.com/unifi/$(VERSION)/unifi_sysvinit_all.deb" 5DEB_LOCATION="https://dl.ui.com/unifi/$(VERSION)/unifi_sysvinit_all.deb"
6CHECKSUM_LINE="05318bcfa94efc069f53150c4af82da2fe0e77d4e6544e35a64224d8836e4db0 *unifi_sysvinit_all.deb" 6CHECKSUM_LINE="eb1ec1953df3995aabd474666e75b7532fd11e7c31256ed74bcbec4148b5ff4a *unifi_sysvinit_all.deb"
7 7
8all: 8all:
9 docker pull alpine:latest 9 docker pull alpine:latest
diff --git a/unifi/entrypoint.sh b/unifi/entrypoint.sh
index cb3d933..e0afa86 100755
--- a/unifi/entrypoint.sh
+++ b/unifi/entrypoint.sh
@@ -11,7 +11,7 @@ UNIFI_UID=${UNIFI_UID:-$(stat -L -c "%u" $DATA_DIR)}
11UNIFI_GID=${UNIFI_GID:-$(stat -L -c "%u" $DATA_DIR)} 11UNIFI_GID=${UNIFI_GID:-$(stat -L -c "%u" $DATA_DIR)}
12 12
13if [ "$UNIFI_GID" = 0 -o "$UNIFI_GID" = 0 ]; then 13if [ "$UNIFI_GID" = 0 -o "$UNIFI_GID" = 0 ]; then
14 echo "Set UNIFI_GID and UNIFI_GID in environment" 14 echo "Set UNIFI_UID and UNIFI_GID in environment"
15 exit 1 15 exit 1
16else 16else
17 echo "Unifi UID/GID: $UNIFI_UID $UNIFI_GID" 17 echo "Unifi UID/GID: $UNIFI_UID $UNIFI_GID"