Dockerfile 629 B

1234567891011121314151617
  1. from debian
  2. ARG DEBIAN_FRONTEND=noninteractive
  3. RUN apt-get update -y && apt-get install -y gnupg2 wget procps && apt-get clean all
  4. RUN wget -O - http://www.ubnt.com/downloads/unifi-video/apt-3.x/unifi-video.gpg.key | apt-key add -;
  5. RUN wget -O - http://www.ubnt.com/downloads/unifi-video/apt-3.x/unifi-video.gpg.key | apt-key add -;
  6. RUN echo "deb [arch=amd64] http://www.ubnt.com/downloads/unifi-video/apt-3.x wheezy ubiquiti" > /etc/apt/sources.list.d/unifi-video.list
  7. RUN apt-get update -y && apt-get install -y unifi-video && apt-get clean all
  8. VOLUME ["/usr/lib/unifi-video/data"]
  9. CMD /usr/sbin/unifi-video -D start