unifi (latest)

Published 2023-07-31 02:57:45 -04:00 by michael in containers/unifi

Installation

docker pull code.balsillie.net/containers/unifi:latest
sha256:22db1d27628f7caa0fd4ee5f41e2c164ecd106f221eb08fc74929847d6130a78

Image Layers

ADD file:3d726bf0abbc08d6dda026cc406cdfb529deb60071641d164de28fcd62d1c1c0 in /
CMD ["bash"]
COPY file:7a473e1ddd1e877f9e98afc4c295b39365b11f545fe2ed26d4e2ed8b09d77da6 in /tmp/apt-requirements.txt
/bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get update -y && xargs -a /tmp/apt-requirements.txt apt-get install -y --no-install-recommends
/bin/sh -c UNIFI_VERSION=$(curl -sX GET http://dl-origin.ubnt.com/unifi/debian/dists/stable/ubiquiti/binary-amd64/Packages | grep -A 7 -m 1 'Package: unifi' | awk -F ': ' '/Version/{print $2;exit}' | awk -F '-' '{print $1}') && echo "Unifi version: $UNIFI_VERSION" && curl -o /tmp/unifi.deb -L https://dl.ui.com/unifi/$UNIFI_VERSION/unifi_sysvinit_all.deb
/bin/sh -c mkdir -p /tmp/unpack && dpkg-deb -R /tmp/unifi.deb /tmp/unpack && sed -i '/^ mongodb-server.*),/d' /tmp/unpack/DEBIAN/control && echo "Updated control file:" && cat /tmp/unpack/DEBIAN/control && dpkg-deb -b /tmp/unpack /tmp/unifi-nomongo.deb && dpkg -i /tmp/unifi-nomongo.deb
COPY file:80576687056b75dcb09c11de241d50513a831c7738cb8aa6cb8c938b348accbb in /var/lib/unifi/system.properties
/bin/sh -c usermod -s /bin/bash unifi && chown -R unifi:unifi /var/lib/unifi && chmod 600 /var/lib/unifi/system.properties && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
VOLUME [/var/lib/unifi]
VOLUME [/var/log/unifi]
EXPOSE 3478 8080 8443 8843 8880
USER unifi
WORKDIR /var/lib/unifi
CMD ["/usr/bin/java" "-Dlog4j2.formatMsgNoLookups=true" "-jar" "/usr/lib/unifi/lib/ace.jar" "start"]
Details
Container
2023-07-31 02:57:45 -04:00
2
OCI / Docker
linux/amd64
722 MiB
Versions (1) View all
latest 2023-07-31