Skip to content

Commit ce80e47

Browse files
committed
feat: 10.3 official - v10.3.55
1 parent 352caea commit ce80e47

16 files changed

Lines changed: 1140 additions & 0 deletions

10.3/official/Dockerfile

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
FROM ubuntu:24.04
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
ARG VERSION
6+
7+
LABEL \
8+
org.opencontainers.image.vendor="The Goofball - goofball222@gmail.com" \
9+
org.opencontainers.image.url="https://github.com/goofball222/unifi" \
10+
org.opencontainers.image.title="UniFi Controller" \
11+
org.opencontainers.image.description="UniFi Controller" \
12+
org.opencontainers.image.version=${VERSION}-Ubuntu \
13+
org.opencontainers.image.source="https://github.com/goofball222/unifi" \
14+
org.opencontainers.image.revision=${VCS_REF} \
15+
org.opencontainers.image.created=${BUILD_DATE} \
16+
org.opencontainers.image.licenses="Apache-2.0"
17+
18+
ENV \
19+
BIND_PRIV=false \
20+
DEBIAN_FRONTEND=noninteractive \
21+
DEBUG=false \
22+
JVM_EXTRA_OPTS= \
23+
JVM_INIT_HEAP_SIZE= \
24+
JVM_MAX_HEAP_SIZE=1024M \
25+
PGID=999 \
26+
PUID=999 \
27+
RUN_CHOWN=true \
28+
RUNAS_UID0=false
29+
30+
WORKDIR /usr/lib/unifi
31+
32+
COPY root /
33+
34+
RUN set -x \
35+
&& groupadd -r unifi -g $PGID \
36+
&& useradd --no-log-init -r -u $PUID -g $PGID unifi \
37+
&& apt-get -y update \
38+
&& apt-get -y install apt-utils \
39+
&& apt-get -y --no-install-recommends install \
40+
binutils curl dirmngr \
41+
gnupg gosu libcap2 \
42+
libcap2-bin procps python3 \
43+
tzdata \
44+
&& apt-get -y --no-install-recommends install \
45+
ca-certificates-java \
46+
&& apt-get -y --no-install-recommends install \
47+
openjdk-25-jre-headless \
48+
&& curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
49+
gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
50+
--dearmor \
51+
&& echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" \
52+
> /etc/apt/sources.list.d/mongodb-org-8.0.list \
53+
&& apt-get -y update \
54+
&& apt-get -y --no-install-recommends install \
55+
mongodb-org-server \
56+
&& curl -sSL https://dl.ui.com/unifi/${VERSION}/unifi_sysvinit_all.deb -o /tmp/unifi-${VERSION}.deb \
57+
&& apt-get -y purge \
58+
dirmngr \
59+
&& apt-get -y autoremove --purge \
60+
&& apt-get -y clean autoclean \
61+
&& dpkg --force-all -i /tmp/unifi-${VERSION}.deb \
62+
&& rm -rf data logs run \
63+
&& bash -c 'mkdir -p {data,logs,run,cert}' \
64+
&& chown -R unifi:unifi /usr/lib/unifi \
65+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
66+
67+
EXPOSE 3478/udp 6789/tcp 8080/tcp 8443/tcp 8843/tcp 8880/tcp 10001/udp
68+
69+
VOLUME ["/usr/lib/unifi/cert", "/usr/lib/unifi/data", "/usr/lib/unifi/logs"]
70+
71+
HEALTHCHECK --start-period=2m CMD /usr/local/bin/docker-healthcheck.sh
72+
73+
ENTRYPOINT ["docker-entrypoint.sh"]
74+
75+
CMD ["unifi"]

10.3/official/Dockerfile.alpine

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
FROM alpine:latest
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
ARG VERSION
6+
7+
LABEL \
8+
org.opencontainers.image.vendor="The Goofball - goofball222@gmail.com" \
9+
org.opencontainers.image.url="https://github.com/goofball222/unifi" \
10+
org.opencontainers.image.title="UniFi Controller" \
11+
org.opencontainers.image.description="UniFi Controller" \
12+
org.opencontainers.image.version=${VERSION}-Alpine \
13+
org.opencontainers.image.source="https://github.com/goofball222/unifi" \
14+
org.opencontainers.image.revision=${VCS_REF} \
15+
org.opencontainers.image.created=${BUILD_DATE} \
16+
org.opencontainers.image.licenses="Apache-2.0"
17+
18+
ENV \
19+
BIND_PRIV=false \
20+
DEBUG=false \
21+
JVM_EXTRA_OPTS= \
22+
JVM_INIT_HEAP_SIZE= \
23+
JVM_MAX_HEAP_SIZE=1024M \
24+
PGID=999 \
25+
PUID=999 \
26+
RUN_CHOWN=true \
27+
RUNAS_UID0=false
28+
29+
WORKDIR /usr/lib/unifi
30+
31+
COPY root /
32+
33+
RUN set -x \
34+
&& delgroup ping \
35+
&& addgroup -g $PGID unifi \
36+
&& adduser -D -G unifi -u $PUID unifi \
37+
&& apk add -q --no-cache \
38+
gcompat libc6-compat \
39+
&& apk add -q --no-cache \
40+
bash binutils coreutils curl libcap \
41+
openjdk25-jre openssl python3 shadow \
42+
su-exec tzdata \
43+
&& curl -sSL https://dl.ui.com/unifi/${VERSION}/UniFi.unix.zip -o /tmp/UniFi.unix.${VERSION}.zip \
44+
&& unzip -q /tmp/UniFi.unix.${VERSION}.zip -d /tmp \
45+
&& mv /tmp/UniFi/* /usr/lib/unifi/ \
46+
&& bash -c 'mkdir -p {data,logs,run,cert}' \
47+
&& chown -R unifi:unifi /usr/lib/unifi \
48+
&& rm -rf /tmp/* /var/tmp/* /var/cache/apk/*
49+
50+
EXPOSE 3478/udp 6789/tcp 8080/tcp 8443/tcp 8843/tcp 8880/tcp 10001/udp
51+
52+
VOLUME ["/usr/lib/unifi/cert", "/usr/lib/unifi/data", "/usr/lib/unifi/logs"]
53+
54+
HEALTHCHECK --start-period=2m CMD /usr/local/bin/docker-healthcheck.sh
55+
56+
ENTRYPOINT ["docker-entrypoint.sh"]
57+
58+
CMD ["unifi"]

10.3/official/Dockerfile.debian

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
FROM debian:trixie-slim
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
ARG VERSION
6+
7+
LABEL \
8+
org.opencontainers.image.vendor="The Goofball - goofball222@gmail.com" \
9+
org.opencontainers.image.url="https://github.com/goofball222/unifi" \
10+
org.opencontainers.image.title="UniFi Controller" \
11+
org.opencontainers.image.description="UniFi Controller" \
12+
org.opencontainers.image.version=${VERSION}-Debian \
13+
org.opencontainers.image.source="https://github.com/goofball222/unifi" \
14+
org.opencontainers.image.revision=${VCS_REF} \
15+
org.opencontainers.image.created=${BUILD_DATE} \
16+
org.opencontainers.image.licenses="Apache-2.0"
17+
18+
ENV \
19+
BIND_PRIV=false \
20+
DEBIAN_FRONTEND=noninteractive \
21+
DEBUG=false \
22+
JVM_EXTRA_OPTS= \
23+
JVM_INIT_HEAP_SIZE= \
24+
JVM_MAX_HEAP_SIZE=1024M \
25+
PGID=999 \
26+
PUID=999 \
27+
RUN_CHOWN=true \
28+
RUNAS_UID0=false
29+
30+
WORKDIR /usr/lib/unifi
31+
32+
COPY root /
33+
34+
RUN set -x \
35+
&& groupadd -r unifi -g $PGID \
36+
&& useradd --no-log-init -r -u $PUID -g $PGID unifi \
37+
&& mkdir -p /usr/share/man/man1 \
38+
&& apt-get -y update \
39+
&& apt-get -y install apt-utils \
40+
&& apt-get -y --no-install-recommends install \
41+
dirmngr gnupg2 \
42+
&& apt-get -y update \
43+
&& apt-get -y --no-install-recommends install \
44+
binutils curl gosu \
45+
libcap2 libcap2-bin procps \
46+
python3 tzdata \
47+
&& apt-get -y --no-install-recommends install \
48+
ca-certificates-java \
49+
&& apt-get -y --no-install-recommends install \
50+
openjdk-25-jre-headless \
51+
&& curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
52+
gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
53+
--dearmor \
54+
&& echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/8.0 main" \
55+
> /etc/apt/sources.list.d/mongodb-org-8.0.list \
56+
&& apt-get -y update \
57+
&& apt-get -y --no-install-recommends install \
58+
mongodb-org-server \
59+
&& curl -sSL https://dl.ui.com/unifi/${VERSION}/unifi_sysvinit_all.deb -o /tmp/unifi-${VERSION}.deb \
60+
&& apt-get -y purge \
61+
apt-utils dirmngr gnupg2 \
62+
&& apt-get -y autoremove --purge \
63+
&& apt-get -y clean autoclean \
64+
&& dpkg --force-all -i /tmp/unifi-${VERSION}.deb \
65+
&& rm -rf data logs run \
66+
&& bash -c 'mkdir -p {data,logs,run,cert}' \
67+
&& chown -R unifi:unifi /usr/lib/unifi \
68+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
69+
70+
EXPOSE 3478/udp 6789/tcp 8080/tcp 8443/tcp 8843/tcp 8880/tcp 10001/udp
71+
72+
VOLUME ["/usr/lib/unifi/cert", "/usr/lib/unifi/data", "/usr/lib/unifi/logs"]
73+
74+
HEALTHCHECK --start-period=2m CMD /usr/local/bin/docker-healthcheck.sh
75+
76+
ENTRYPOINT ["docker-entrypoint.sh"]
77+
78+
CMD ["unifi"]
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
FROM debian:trixie-slim
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
ARG VERSION
6+
7+
LABEL \
8+
org.opencontainers.image.vendor="The Goofball - goofball222@gmail.com" \
9+
org.opencontainers.image.url="https://github.com/goofball222/unifi" \
10+
org.opencontainers.image.title="UniFi Controller" \
11+
org.opencontainers.image.description="UniFi Controller" \
12+
org.opencontainers.image.version=${VERSION}-Debian \
13+
org.opencontainers.image.source="https://github.com/goofball222/unifi" \
14+
org.opencontainers.image.revision=${VCS_REF} \
15+
org.opencontainers.image.created=${BUILD_DATE} \
16+
org.opencontainers.image.licenses="Apache-2.0"
17+
18+
ENV \
19+
BIND_PRIV=false \
20+
DEBIAN_FRONTEND=noninteractive \
21+
DEBUG=false \
22+
JVM_EXTRA_OPTS= \
23+
JVM_INIT_HEAP_SIZE= \
24+
JVM_MAX_HEAP_SIZE=1024M \
25+
PGID=999 \
26+
PUID=999 \
27+
RUN_CHOWN=true \
28+
RUNAS_UID0=false
29+
30+
WORKDIR /usr/lib/unifi
31+
32+
COPY root /
33+
34+
RUN set -x \
35+
&& groupadd -r unifi -g $PGID \
36+
&& useradd --no-log-init -r -u $PUID -g $PGID unifi \
37+
&& mkdir -p /usr/share/man/man1 \
38+
&& apt-get -y update \
39+
&& apt-get -y install apt-utils \
40+
&& apt-get -y --no-install-recommends install \
41+
dirmngr gnupg2 \
42+
&& apt-get -y update \
43+
&& apt-get -y --no-install-recommends install \
44+
binutils curl gosu \
45+
libcap2 libcap2-bin procps \
46+
python3 tzdata \
47+
&& apt-get -y --no-install-recommends install \
48+
ca-certificates-java \
49+
&& apt-get -y --no-install-recommends install \
50+
openjdk-25-jre-headless \
51+
&& curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
52+
gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
53+
--dearmor \
54+
&& echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/8.2 main" \
55+
> /etc/apt/sources.list.d/mongodb-org-8.2.list \
56+
&& apt-get -y update \
57+
&& apt-get -y --no-install-recommends install \
58+
mongodb-org-server \
59+
&& curl -sSL https://dl.ui.com/unifi/${VERSION}/unifi_sysvinit_all.deb -o /tmp/unifi-${VERSION}.deb \
60+
&& apt-get -y purge \
61+
apt-utils dirmngr gnupg2 \
62+
&& apt-get -y autoremove --purge \
63+
&& apt-get -y clean autoclean \
64+
&& dpkg --force-all -i /tmp/unifi-${VERSION}.deb \
65+
&& rm -rf data logs run \
66+
&& bash -c 'mkdir -p {data,logs,run,cert}' \
67+
&& chown -R unifi:unifi /usr/lib/unifi \
68+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
69+
70+
EXPOSE 3478/udp 6789/tcp 8080/tcp 8443/tcp 8843/tcp 8880/tcp 10001/udp
71+
72+
VOLUME ["/usr/lib/unifi/cert", "/usr/lib/unifi/data", "/usr/lib/unifi/logs"]
73+
74+
HEALTHCHECK --start-period=2m CMD /usr/local/bin/docker-healthcheck.sh
75+
76+
ENTRYPOINT ["docker-entrypoint.sh"]
77+
78+
CMD ["unifi"]
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
FROM debian:trixie-slim
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
ARG VERSION
6+
7+
LABEL \
8+
org.opencontainers.image.vendor="The Goofball - goofball222@gmail.com" \
9+
org.opencontainers.image.url="https://github.com/goofball222/unifi" \
10+
org.opencontainers.image.title="UniFi Controller" \
11+
org.opencontainers.image.description="UniFi Controller" \
12+
org.opencontainers.image.version=${VERSION}-Debian.nomongo \
13+
org.opencontainers.image.source="https://github.com/goofball222/unifi" \
14+
org.opencontainers.image.revision=${VCS_REF} \
15+
org.opencontainers.image.created=${BUILD_DATE} \
16+
org.opencontainers.image.licenses="Apache-2.0"
17+
18+
ENV \
19+
BIND_PRIV=false \
20+
DEBIAN_FRONTEND=noninteractive \
21+
DEBUG=false \
22+
JVM_EXTRA_OPTS= \
23+
JVM_INIT_HEAP_SIZE= \
24+
JVM_MAX_HEAP_SIZE=1024M \
25+
PGID=999 \
26+
PUID=999 \
27+
RUN_CHOWN=true \
28+
RUNAS_UID0=false
29+
30+
WORKDIR /usr/lib/unifi
31+
32+
COPY root /
33+
34+
RUN set -x \
35+
&& groupadd -r unifi -g $PGID \
36+
&& useradd --no-log-init -r -u $PUID -g $PGID unifi \
37+
&& mkdir -p /usr/share/man/man1 \
38+
&& apt-get -y update \
39+
&& apt-get -y install apt-utils \
40+
&& apt-get -y --no-install-recommends install \
41+
binutils curl gosu \
42+
libcap2 libcap2-bin procps \
43+
tzdata \
44+
&& apt-get -y --no-install-recommends install \
45+
ca-certificates-java \
46+
&& apt-get -y --no-install-recommends install \
47+
openjdk-25-jre-headless \
48+
&& curl -sSL https://dl.ui.com/unifi/${VERSION}/unifi_sysvinit_all.deb -o /tmp/unifi-${VERSION}.deb \
49+
&& apt-get -y purge \
50+
apt-utils \
51+
&& apt-get -y autoremove --purge \
52+
&& apt-get -y clean autoclean \
53+
&& dpkg --force-all -i /tmp/unifi-${VERSION}.deb \
54+
&& rm -rf data logs run \
55+
&& bash -c 'mkdir -p {data,logs,run,cert}' \
56+
&& chown -R unifi:unifi /usr/lib/unifi \
57+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
58+
59+
EXPOSE 3478/udp 6789/tcp 8080/tcp 8443/tcp 8843/tcp 8880/tcp 10001/udp
60+
61+
VOLUME ["/usr/lib/unifi/cert", "/usr/lib/unifi/data", "/usr/lib/unifi/logs"]
62+
63+
HEALTHCHECK --start-period=2m CMD /usr/local/bin/docker-healthcheck.sh
64+
65+
ENTRYPOINT ["docker-entrypoint.sh"]
66+
67+
CMD ["unifi"]

0 commit comments

Comments
 (0)