Update to 8.0.7
This commit is contained in:
parent
3a00484770
commit
8543e14136
|
@ -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 &&\
|
apk --no-cache add curl ca-certificates unzip &&\
|
||||||
cd /tmp &&\
|
cd /tmp &&\
|
||||||
curl -sSLO https://www.ubnt.com/downloads/unifi/${UNIFI_VERSION}/UniFi.unix.zip &&\
|
curl -sSLO https://www.ubnt.com/downloads/unifi/${UNIFI_VERSION}/UniFi.unix.zip &&\
|
||||||
unzip UniFi.unix.zip &&\
|
unzip UniFi.unix.zip &&\
|
||||||
|
rm -f UniFi.unix.zip &&\
|
||||||
|
ls -l &&\
|
||||||
rm -f UniFi/bin/mongod &&\
|
rm -f UniFi/bin/mongod &&\
|
||||||
chown -R root:root UniFi
|
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 --from=builder /tmp/UniFi /opt/unifi
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
RUN set -eu &&\
|
RUN set -euxo pipefail &&\
|
||||||
apk --no-cache upgrade &&\
|
apk --no-cache upgrade &&\
|
||||||
addgroup -g 8443 unifi &&\
|
addgroup -g 8443 unifi &&\
|
||||||
adduser --system --ingroup unifi --disabled-password --uid 8443 --home /opt/unifi --shell /sbin/nologin unifi &&\
|
adduser --system --ingroup unifi --disabled-password --uid 8443 --home /opt/unifi --shell /sbin/nologin unifi &&\
|
||||||
|
|
|
@ -17,7 +17,7 @@ unifi:
|
||||||
driver: docker
|
driver: docker
|
||||||
|
|
||||||
# The image for the controller
|
# The image for the controller
|
||||||
image: danielberteaud/unifi:7.5.187-2
|
image: danielberteaud/unifi:8.0.7-1
|
||||||
|
|
||||||
# Resource allocation for the controller
|
# Resource allocation for the controller
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user