Update to 8.1.113
This commit is contained in:
parent
52d2618c3e
commit
976ee5b8b1
|
@ -1,6 +1,6 @@
|
||||||
FROM danielberteaud/java:17.24.3-1 AS builder
|
FROM danielberteaud/java:17.24.3-4 AS builder
|
||||||
|
|
||||||
ARG UNIFI_VERSION=8.0.28
|
ARG UNIFI_VERSION=8.1.113
|
||||||
|
|
||||||
RUN set -euxo pipefail &&\
|
RUN set -euxo pipefail &&\
|
||||||
apk --no-cache add curl ca-certificates unzip &&\
|
apk --no-cache add curl ca-certificates unzip &&\
|
||||||
|
@ -12,7 +12,7 @@ RUN set -euxo pipefail &&\
|
||||||
rm -f UniFi/bin/mongod &&\
|
rm -f UniFi/bin/mongod &&\
|
||||||
chown -R root:root UniFi
|
chown -R root:root UniFi
|
||||||
|
|
||||||
FROM danielberteaud/java:17.24.3-1
|
FROM danielberteaud/java:17.24.3-4
|
||||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||||
|
|
||||||
ENV JAVA_OPTS="-Djava.awt.headless=true -Dlogback.configurationFile=/opt/unifi/logback.xml --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED" \
|
ENV JAVA_OPTS="-Djava.awt.headless=true -Dlogback.configurationFile=/opt/unifi/logback.xml --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED" \
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ "unifi" != "unifi" ]; then
|
|
||||||
for DIR in vault consul nomad; do
|
|
||||||
if [ -d output/${DIR} ]; then
|
|
||||||
for FILE in $(find output/${DIR} -name "*unifi*.hcl" -type f); do
|
|
||||||
NEW_FILE=$(echo "${FILE}" | sed -E "s/unifi/unifi/g")
|
|
||||||
mv "${FILE}" "${NEW_FILE}"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -254,7 +254,7 @@ _EOF
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "danielberteaud/unifi:8.0.28-1"
|
image = "danielberteaud/unifi:8.1.113-1"
|
||||||
volumes = [
|
volumes = [
|
||||||
"local/init-system.properties.sh:/entrypoint.d/10-init-system.properties.sh"
|
"local/init-system.properties.sh:/entrypoint.d/10-init-system.properties.sh"
|
||||||
]
|
]
|
||||||
|
@ -293,6 +293,8 @@ _EOF
|
||||||
TMPDIR = "/local/tmp"
|
TMPDIR = "/local/tmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Use a template block instead of env {} so we can fetch values from vault
|
# Use a template block instead of env {} so we can fetch values from vault
|
||||||
template {
|
template {
|
||||||
data = <<_EOT
|
data = <<_EOT
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
[[ template "common/mv_conf.sh.tpl" dict "ctx" . "services" (dict "unifi" .instance) ]]
|
|
|
@ -18,7 +18,7 @@ unifi:
|
||||||
driver: docker
|
driver: docker
|
||||||
|
|
||||||
# Version of the controller to deploy
|
# Version of the controller to deploy
|
||||||
version: 8.0.28
|
version: 8.1.113
|
||||||
|
|
||||||
# The image for the controller
|
# The image for the controller
|
||||||
image: '[[ .docker.repo ]]unifi:[[ .unifi.controller.version ]]-1'
|
image: '[[ .docker.repo ]]unifi:[[ .unifi.controller.version ]]-1'
|
||||||
|
|
Loading…
Reference in New Issue