Ver código fonte

Update 'Dockerfile'

snppla 5 anos atrás
pai
commit
4c71165fda
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      Dockerfile

+ 5 - 1
Dockerfile

@@ -2,12 +2,16 @@ FROM debian
 
 ARG DEBIAN_FRONTEND=noninteractive
 
-RUN apt-get update -y && apt-get install -y gnupg2 apt-transport-https && apt-get clean
+RUN apt-get update -y && apt-get install -y gnupg2 apt-transport-https ca-certificates && apt-get clean
 
 RUN echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | tee /etc/apt/sources.list.d/100-ubnt-unifi.list
 
 RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50 
 
+RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
+
+RUN  echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" >> /etc/apt/sources.list.d/mongo.lis
+
 RUN apt-get update -y && apt-get install -y unifi && apt-get clean
 
 CMD java $JVM_OPTS -jar /usr/lib/unifi/lib/ace.jar start