-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: install mongodb and launch next
Tested both locally and with next_ec2.py
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|