diff options
author | Mike Crute <mike@crute.us> | 2019-10-30 04:29:08 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-10-30 04:29:08 +0000 |
commit | 9d079551df8298136fce6aa8aea3bcc22d70ced1 (patch) | |
tree | fd541c39f012d637f9a046a2af88b67152ab7da1 /unifi | |
parent | b6a784ec28a1880a15993d14f2afe0906b864cdb (diff) | |
download | dockerfiles-9d079551df8298136fce6aa8aea3bcc22d70ced1.tar.bz2 dockerfiles-9d079551df8298136fce6aa8aea3bcc22d70ced1.tar.xz dockerfiles-9d079551df8298136fce6aa8aea3bcc22d70ced1.zip |
Upgrade Unifi to 5.12.22
Diffstat (limited to 'unifi')
-rw-r--r-- | unifi/Makefile | 4 | ||||
-rwxr-xr-x | unifi/entrypoint.sh | 2 |
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 @@ | |||
1 | VERSION=5.11.46 | 1 | VERSION=5.12.22 |
2 | IMAGE=docker.crute.me/unifi:$(VERSION) | 2 | IMAGE=docker.crute.me/unifi:$(VERSION) |
3 | LATEST=$(subst :$(VERSION),,$(IMAGE)):latest | 3 | LATEST=$(subst :$(VERSION),,$(IMAGE)):latest |
4 | 4 | ||
5 | DEB_LOCATION="https://dl.ui.com/unifi/$(VERSION)/unifi_sysvinit_all.deb" | 5 | DEB_LOCATION="https://dl.ui.com/unifi/$(VERSION)/unifi_sysvinit_all.deb" |
6 | CHECKSUM_LINE="05318bcfa94efc069f53150c4af82da2fe0e77d4e6544e35a64224d8836e4db0 *unifi_sysvinit_all.deb" | 6 | CHECKSUM_LINE="eb1ec1953df3995aabd474666e75b7532fd11e7c31256ed74bcbec4148b5ff4a *unifi_sysvinit_all.deb" |
7 | 7 | ||
8 | all: | 8 | all: |
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)} | |||
11 | UNIFI_GID=${UNIFI_GID:-$(stat -L -c "%u" $DATA_DIR)} | 11 | UNIFI_GID=${UNIFI_GID:-$(stat -L -c "%u" $DATA_DIR)} |
12 | 12 | ||
13 | if [ "$UNIFI_GID" = 0 -o "$UNIFI_GID" = 0 ]; then | 13 | if [ "$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 |
16 | else | 16 | else |
17 | echo "Unifi UID/GID: $UNIFI_UID $UNIFI_GID" | 17 | echo "Unifi UID/GID: $UNIFI_UID $UNIFI_GID" |