From 6ef760a0a02c6741fdabbbc4894514ed489237ab Mon Sep 17 00:00:00 2001 From: William Gouzer Date: Fri, 3 Apr 2020 10:57:33 +0200 Subject: [PATCH] bump mongo from 3.6 to 4.0 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.41.0