Dockerfile 463 B

12345678910111213
  1. FROM debian
  2. ARG DEBIAN_FRONTEND=noninteractive
  3. RUN apt-get update -y && apt-get install -y gnupg2 apt-transport-https && apt-get clean
  4. RUN echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | tee /etc/apt/sources.list.d/100-ubnt-unifi.list
  5. RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
  6. RUN apt-get update -y && apt-get install -y unifi && apt-get clean
  7. CMD java $JVM_OPTS -jar /usr/lib/unifi/lib/ace.jar start