]> git.immae.eu Git - github/fretlink/docker-node-mongotools.git/commitdiff
bump mongo from 3.6 to 4.0 8/head
authorWilliam Gouzer <william.gouzer@fretlink.com>
Fri, 3 Apr 2020 08:57:33 +0000 (10:57 +0200)
committerWilliam Gouzer <william.gouzer@fretlink.com>
Fri, 3 Apr 2020 09:05:04 +0000 (11:05 +0200)
Dockerfile

index a825b2e6fc851a1394fea7b1000e343282a68948..8a1f79e562a0f1873ee60b2fb73e23c76544bc76 100644 (file)
@@ -2,9 +2,9 @@ FROM node:13.12.0-stretch
 
 WORKDIR /app
 
-# Install Mongo repository 3.6
-RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
-RUN echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" > /etc/apt/sources.list.d/mongodb-org-3.6.list
+# Install Mongo repository 4.0
+RUN curl -sSL https://www.mongodb.org/static/pgp/server-4.0.asc | apt-key add -
+RUN echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list
 
 # Install Mongo, python and libpq
 RUN apt-get update