Skip to content

Commit

Permalink
BUG: install mongodb and launch next
Browse files Browse the repository at this point in the history
Tested both locally and with next_ec2.py
  • Loading branch information
stsievert committed May 27, 2018
1 parent c89e36f commit eb899b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions next/base_docker_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ MAINTAINER Lalit Jain, [email protected]
# Install MongoDB and its tools
RUN \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" > /etc/apt/sources.list.d/mongodb-org-3.4.list && \
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" > /etc/apt/sources.list.d/mongodb-org-3.4.list && \
echo "deb http://ftp.debian.org/debian jessie-backports main" > /etc/apt/sources.list && \
apt-get update -y && \
apt-get install -y mongodb-org
apt-get install -y libssl1.0.0 && \
apt-get install -y mongodb-org=3.4.15

# Install python dependencies for next_backend
ADD requirements.txt /requirements.txt
Expand Down

0 comments on commit eb899b5

Please sign in to comment.