Commit 64af913f authored by Gaël de Chalendar's avatar Gaël de Chalendar
Browse files

Correct installation of mongodb

parent f644a494
......@@ -5,12 +5,11 @@ RUN apt update -y && apt install -y python3-pip unzip python3-dev wget git \
libtool clang software-properties-common nodejs
# install mongodb server
RUN wget https://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/multiverse/binary-amd64/mongodb-org-server_3.4.24_amd64.deb
RUN dpkg -i mongodb-org-server_3.4.24_amd64.deb
RUN apt list --installed | grep mongo
RUN echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv BC711F9BA15703C6
RUN apt-get update
RUN apt install -y mongodb-org-server
RUN mkdir /mongodb-projects
# install mongodb client
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment