Initial commit
ContainerImages/unifi/pipeline/head This commit looks good
Details
ContainerImages/unifi/pipeline/head This commit looks good
Details
commit
02e4ec7b5d
|
@ -0,0 +1 @@
|
||||||
|
deb [ arch=amd64,arm64 ] https://www.ui.com/downloads/unifi/debian stable ubiquiti
|
|
@ -0,0 +1,33 @@
|
||||||
|
FROM docker.io/library/debian:bullseye-slim
|
||||||
|
|
||||||
|
RUN --mount=type=cache,target=/var/cache \
|
||||||
|
--mount=type=cache,target=/var/lib/apt \
|
||||||
|
apt-get update \
|
||||||
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
|
ca-certificates \
|
||||||
|
apt-transport-https \
|
||||||
|
&& :
|
||||||
|
|
||||||
|
COPY *.list /etc/apt/sources.list.d/
|
||||||
|
|
||||||
|
COPY *.gpg /etc/apt/trusted.gpg.d/
|
||||||
|
|
||||||
|
RUN --mount=type=cache,target=/var/cache \
|
||||||
|
--mount=type=cache,target=/var/lib/apt \
|
||||||
|
apt-get update \
|
||||||
|
&& apt-get install -y \
|
||||||
|
--no-install-recommends \
|
||||||
|
procps \
|
||||||
|
tini \
|
||||||
|
unifi \
|
||||||
|
&& :
|
||||||
|
|
||||||
|
COPY unifi.sh /usr/local/sbin/unifi
|
||||||
|
|
||||||
|
USER unifi:unifi
|
||||||
|
|
||||||
|
VOLUME /var/lib/unifi
|
||||||
|
VOLUME /var/log/unifi
|
||||||
|
|
||||||
|
CMD ["tini", "unifi"]
|
|
@ -0,0 +1 @@
|
||||||
|
buildContainerImage2()
|
|
@ -0,0 +1 @@
|
||||||
|
deb [trusted=yes] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 multiverse
|
Binary file not shown.
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
UNIFI_CORE_ENABLED=${UNIFI_CORE_ENABLED:-"false"}
|
||||||
|
UNIFI_JVM_OPTS=${UNIFI_JVM_OPTS:-"-Xmx1024M -XX:+UseParallelGC"}
|
||||||
|
|
||||||
|
cd /usr/lib/unifi
|
||||||
|
|
||||||
|
exec /usr/bin/java \
|
||||||
|
-Dfile.encoding=UTF-8 \
|
||||||
|
-Djava.awt.headless=true \
|
||||||
|
-Dapple.awt.UIElement=true \
|
||||||
|
-Dunifi.core.enabled=${UNIFI_CORE_ENABLED} \
|
||||||
|
$UNIFI_JVM_OPTS \
|
||||||
|
-XX:+ExitOnOutOfMemoryError \
|
||||||
|
-XX:+CrashOnOutOfMemoryError \
|
||||||
|
-XX:ErrorFile=/var/log/unifi/hs_err_pid%p.log \
|
||||||
|
-Dunifi.datadir=/var/lib/unifi \
|
||||||
|
-Dunifi.logdir=/var/log/unifi \
|
||||||
|
-Dunifi.rundir=/run/unifi \
|
||||||
|
--add-opens java.base/java.lang=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.time=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/sun.security.util=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.io=ALL-UNNAMED \
|
||||||
|
--add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED \
|
||||||
|
-jar /usr/lib/unifi/lib/ace.jar \
|
||||||
|
start
|
Loading…
Reference in New Issue