From: William Gouzer Date: Fri, 3 Apr 2020 08:57:33 +0000 (+0200) Subject: bump mongo from 3.6 to 4.0 X-Git-Tag: node-13.12.0-ansible-2.8-ruby-2.6-dhall-1.21.0^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=6ef760a0a02c6741fdabbbc4894514ed489237ab;p=github%2Ffretlink%2Fdocker-node-mongotools.git bump mongo from 3.6 to 4.0 --- diff --git a/Dockerfile b/Dockerfile index a825b2e..8a1f79e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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