Update to 8.0.7

This commit is contained in:
Daniel Berteaud 2023-11-20 12:05:53 +01:00
parent 3a00484770
commit 8543e14136
2 changed files with 7 additions and 5 deletions

View File

@ -1,12 +1,14 @@
FROM alpine:latest AS builder
FROM [[ .docker.repo ]][[ .docker.base_images.java17.image ]] AS builder
ARG UNIFI_VERSION=7.5.187
ARG UNIFI_VERSION=8.0.7
RUN set -eu &&\
RUN set -euxo pipefail &&\
apk --no-cache add curl ca-certificates unzip &&\
cd /tmp &&\
curl -sSLO https://www.ubnt.com/downloads/unifi/${UNIFI_VERSION}/UniFi.unix.zip &&\
unzip UniFi.unix.zip &&\
rm -f UniFi.unix.zip &&\
ls -l &&\
rm -f UniFi/bin/mongod &&\
chown -R root:root UniFi
@ -19,7 +21,7 @@ ENV JAVA_OPTS="-Djava.awt.headless=true -Dlogback.configurationFile=/opt/unifi/l
COPY --from=builder /tmp/UniFi /opt/unifi
COPY root/ /
RUN set -eu &&\
RUN set -euxo pipefail &&\
apk --no-cache upgrade &&\
addgroup -g 8443 unifi &&\
adduser --system --ingroup unifi --disabled-password --uid 8443 --home /opt/unifi --shell /sbin/nologin unifi &&\

View File

@ -17,7 +17,7 @@ unifi:
driver: docker
# The image for the controller
image: danielberteaud/unifi:7.5.187-2
image: danielberteaud/unifi:8.0.7-1
# Resource allocation for the controller
resources: