Initial commit
All checks were successful
ContainerImages/unifi/pipeline/head This commit looks good
All checks were successful
ContainerImages/unifi/pipeline/head This commit looks good
This commit is contained in:
1
100-ubnt-unifi.list
Normal file
1
100-ubnt-unifi.list
Normal file
@@ -0,0 +1 @@
|
||||
deb [ arch=amd64,arm64 ] https://www.ui.com/downloads/unifi/debian stable ubiquiti
|
||||
33
Containerfile
Normal file
33
Containerfile
Normal file
@@ -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"]
|
||||
1
Jenkinsfile
vendored
Normal file
1
Jenkinsfile
vendored
Normal file
@@ -0,0 +1 @@
|
||||
buildContainerImage2()
|
||||
1
mongodb-org-3.6.list
Normal file
1
mongodb-org-3.6.list
Normal file
@@ -0,0 +1 @@
|
||||
deb [trusted=yes] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 multiverse
|
||||
0
monodb-repo.gpg
Normal file
0
monodb-repo.gpg
Normal file
BIN
unifi-repo.gpg
Normal file
BIN
unifi-repo.gpg
Normal file
Binary file not shown.
26
unifi.sh
Executable file
26
unifi.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user