unifi (latest)

Published 2023-12-01 13:05:04 +01:00 by flo in flo/unifi-docker

Installation

docker pull scm.indeedgeek.de/flo/unifi:latest
sha256:3143703e8931affd7c041fc5a3c970382c9bda30d316d52033780856fd601049

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=20.04
ADD file:233702cd816c07bc9fed02881b11fb3bdcaee41f3ce3ec1c9f0c4a060b155d5b in /
CMD ["/bin/bash"]
LABEL maintainer=Jacob Alberty <jacob.alberty@foundigital.com>
ARG DEBIAN_FRONTEND=noninteractive
ARG PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb
ENV BASEDIR=/usr/lib/unifi DATADIR=/unifi/data LOGDIR=/unifi/log CERTDIR=/unifi/cert RUNDIR=/unifi/run ORUNDIR=/var/run/unifi ODATADIR=/var/lib/unifi OLOGDIR=/var/log/unifi CERTNAME=cert.pem CERT_PRIVATE_NAME=privkey.pem CERT_IS_CHAIN=false GOSU_VERSION=1.10 BIND_PRIV=true RUNAS_UID0=true UNIFI_GID=999 UNIFI_UID=999
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c set -eux; apt-get update; apt-get install -y gosu; rm -rf /var/lib/apt/lists/* # buildkit
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c mkdir -p /usr/unifi /usr/local/unifi/init.d /usr/unifi/init.d /usr/local/docker # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
COPY docker-healthcheck.sh /usr/local/bin/ # buildkit
COPY docker-build.sh /usr/local/bin/ # buildkit
COPY functions /usr/unifi/functions # buildkit
COPY import_cert /usr/unifi/init.d/ # buildkit
COPY pre_build /usr/local/docker/pre_build # buildkit
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh && chmod +x /usr/unifi/init.d/import_cert && chmod +x /usr/local/bin/docker-healthcheck.sh && chmod +x /usr/local/bin/docker-build.sh && chmod -R +x /usr/local/docker/pre_build # buildkit
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c set -ex && mkdir -p /usr/share/man/man1/ && groupadd -r unifi -g $UNIFI_GID && useradd --no-log-init -r -u $UNIFI_UID -g $UNIFI_GID unifi && /usr/local/bin/docker-build.sh "${PKGURL}" # buildkit
COPY /out/permset /usr/local/bin/permset # buildkit
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c chown 0.0 /usr/local/bin/permset && chmod +s /usr/local/bin/permset # buildkit
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c mkdir -p /unifi && chown unifi:unifi -R /unifi # buildkit
COPY hotfixes /usr/local/unifi/hotfixes # buildkit
RUN |2 DEBIAN_FRONTEND=noninteractive PKGURL=https://dl.ui.com/unifi/7.5.176/unifi_sysvinit_all.deb /bin/sh -c chmod +x /usr/local/unifi/hotfixes/* && run-parts /usr/local/unifi/hotfixes # buildkit
VOLUME [/unifi /unifi/run]
EXPOSE map[10001/udp:{} 3478/udp:{} 6789/tcp:{} 8080/tcp:{} 8443/tcp:{} 8843/tcp:{} 8880/tcp:{}]
WORKDIR /unifi
HEALTHCHECK &{["CMD-SHELL" "/usr/local/bin/docker-healthcheck.sh || exit 1"] "0s" "0s" "5m0s" "0s" '\x00'}
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["unifi"]
/bin/sh -c curl -L -o ./unifi.deb "https://dl.ui.com/unifi/7.5.176-1136930355/unifi_sysvinit_all.deb" && apt -qy install ./unifi.deb && rm -f ./unifi.deb
HEALTHCHECK &{["NONE"] "0s" "0s" "0s" '\x00'}
LABEL org.opencontainers.image.created=2023-12-01T12:01:23Z
LABEL org.opencontainers.image.revision=f23f9536203345615552c9b36acb6620905fde22
LABEL org.opencontainers.image.source=https://scm.indeedgeek.de/flo/unifi-docker.git
LABEL org.opencontainers.image.url=https://scm.indeedgeek.de/flo/unifi-docker

Labels

Key Value
ghcr.io/jacobalberty/unifi-docker:latest
ghcr.io/jacobalberty/unifi-docker:master
jacobalberty/unifi:latest
jacobalberty/unifi:master
maintainer Jacob Alberty <jacob.alberty@foundigital.com>
org.opencontainers.image.created 2023-12-01T12:01:23Z
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision f23f9536203345615552c9b36acb6620905fde22
org.opencontainers.image.source https://scm.indeedgeek.de/flo/unifi-docker.git
org.opencontainers.image.url https://scm.indeedgeek.de/flo/unifi-docker
org.opencontainers.image.version 20.04
Details
Container
2023-12-01 13:05:04 +01:00
5
OCI / Docker
linux/amd64
362 MiB
Versions (1) View all
latest 2023-12-01