Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Update to 5.8.24
Browse files Browse the repository at this point in the history
  • Loading branch information
zumbrunnen committed Jul 4, 2018
1 parent a593b50 commit ba8194a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
FROM ubuntu:latest
FROM ubuntu:bionic
LABEL maintainer="David Zumbrunnen <[email protected]>"

ENV DEBIAN_FRONTEND noninteractive
ENV UNIFI_VERSION 5.8.24

RUN apt-get update && apt-get -y install gnupg ca-certificates

RUN echo "deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti" > /etc/apt/sources.list.d/unifi.list
RUN echo "deb https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" > /etc/apt/sources.list.d/mongodb.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
RUN apt-get update && apt-get -y install binutils libcap2 curl openjdk-8-jre-headless jsvc gnupg ca-certificates

RUN echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" > /etc/apt/sources.list.d/mongodb.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 0C49F3730359A14518585931BC711F9BA15703C6
RUN apt-get update && \
apt-get -y install unifi && \
apt-get -y install mongodb-org-server && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN curl -o unifi_sysvinit_all.deb http://dl.ubnt.com/unifi/${UNIFI_VERSION}/unifi_sysvinit_all.deb && \
dpkg -i unifi_sysvinit_all.deb && \
rm unifi_sysvinit_all.deb

VOLUME ["/var/lib/unifi"]

Expand Down

0 comments on commit ba8194a

Please sign in to comment.