This repository was archived by the owner on Jan 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed
root/etc/s6-overlay/s6-rc.d/svc-unifi-controller Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,18 @@ ARG DEBIAN_FRONTEND="noninteractive"
15
15
16
16
RUN \
17
17
echo "**** install packages ****" && \
18
+ curl -fsSL https://pgp.mongodb.com/server-4.4.asc | \
19
+ gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg \
20
+ --dearmor && \
21
+ echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list && \
18
22
apt-get update && \
19
23
apt-get install -y --no-install-recommends \
20
24
binutils \
21
25
jsvc \
22
26
libcap2 \
23
27
logrotate \
24
- mongodb-server \
25
- openjdk-11 -jre-headless && \
28
+ mongodb-org- server \
29
+ openjdk-17 -jre-headless && \
26
30
echo "**** install unifi ****" && \
27
31
if [ -z ${UNIFI_VERSION+x} ]; then \
28
32
UNIFI_VERSION=$(curl -sX GET http://dl-origin.ubnt.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
Original file line number Diff line number Diff line change @@ -15,14 +15,18 @@ ARG DEBIAN_FRONTEND="noninteractive"
15
15
16
16
RUN \
17
17
echo "**** install packages ****" && \
18
+ curl -fsSL https://pgp.mongodb.com/server-4.4.asc | \
19
+ gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg \
20
+ --dearmor && \
21
+ echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list && \
18
22
apt-get update && \
19
23
apt-get install -y --no-install-recommends \
20
24
binutils \
21
25
jsvc \
22
26
libcap2 \
23
27
logrotate \
24
- mongodb-server \
25
- openjdk-11 -jre-headless && \
28
+ mongodb-org- server \
29
+ openjdk-17 -jre-headless && \
26
30
echo "**** install unifi ****" && \
27
31
if [ -z ${UNIFI_VERSION+x} ]; then \
28
32
UNIFI_VERSION=$(curl -sX GET http://dl-origin.ubnt.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ app_setup_block: |
71
71
72
72
# changelog
73
73
changelogs :
74
+ - { date: "04.09.23:", desc: "Bump mongodb to 4.4 and JRE to 17 to support v7.5."}
74
75
- { date: "02.05.23:", desc: "Cleanup `apt-get install` during build to reduce image size."}
75
76
- { date: "18.03.23:", desc: "Add mongoless branch."}
76
77
- { date: "10.03.23:", desc: "Test writing to /run/unifi and symlink to /config/run if it fails."}
Original file line number Diff line number Diff line change 8
8
if [[ -z ${MEM_STARTUP} ]] || [[ ${MEM_STARTUP} = "default" ]]; then
9
9
exec \
10
10
s6-notifyoncheck -d -n 600 -w 1000 \
11
- cd /config s6-setuidgid abc java -Xmx"${MEM_LIMIT}M" -Dlog4j2.formatMsgNoLookups=true -jar /usr/lib/unifi/lib/ace.jar start;
11
+ cd /config s6-setuidgid abc java -Xmx"${MEM_LIMIT}M" -Dlog4j2.formatMsgNoLookups=true --add-opens=java.base/java.time=ALL-UNNAMED - jar /usr/lib/unifi/lib/ace.jar start;
12
12
else
13
13
exec \
14
14
s6-notifyoncheck -d -n 600 -w 1000 \
15
- cd /config s6-setuidgid abc java -Xms"${MEM_STARTUP}M" -Xmx"${MEM_LIMIT}M" -Dlog4j2.formatMsgNoLookups=true -jar /usr/lib/unifi/lib/ace.jar start;
15
+ cd /config s6-setuidgid abc java -Xms"${MEM_STARTUP}M" -Xmx"${MEM_LIMIT}M" -Dlog4j2.formatMsgNoLookups=true --add-opens=java.base/java.time=ALL-UNNAMED - jar /usr/lib/unifi/lib/ace.jar start;
16
16
fi
You can’t perform that action at this time.
0 commit comments