diff options
author | William Gouzer <william.gouzer@fretlink.com> | 2020-04-03 10:57:33 +0200 |
---|---|---|
committer | William Gouzer <william.gouzer@fretlink.com> | 2020-04-03 11:05:04 +0200 |
commit | 6ef760a0a02c6741fdabbbc4894514ed489237ab (patch) | |
tree | eab359409fbfc9781295880759e624e628bd5830 /Dockerfile | |
parent | fb5c4f5f0858c8617129866052550fe353adbcfc (diff) | |
download | docker-node-mongotools-6ef760a0a02c6741fdabbbc4894514ed489237ab.tar.gz docker-node-mongotools-6ef760a0a02c6741fdabbbc4894514ed489237ab.tar.zst docker-node-mongotools-6ef760a0a02c6741fdabbbc4894514ed489237ab.zip |
bump mongo from 3.6 to 4.0
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,9 +2,9 @@ FROM node:13.12.0-stretch | |||
2 | 2 | ||
3 | WORKDIR /app | 3 | WORKDIR /app |
4 | 4 | ||
5 | # Install Mongo repository 3.6 | 5 | # Install Mongo repository 4.0 |
6 | RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 | 6 | RUN curl -sSL https://www.mongodb.org/static/pgp/server-4.0.asc | apt-key add - |
7 | 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 | 7 | 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 |
8 | 8 | ||
9 | # Install Mongo, python and libpq | 9 | # Install Mongo, python and libpq |
10 | RUN apt-get update | 10 | RUN apt-get update |