Created
October 25, 2013 20:51
-
-
Save klizhentas/7161636 to your computer and use it in GitHub Desktop.
Mongo
This file contains hidden or 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
from mailgun/base:latest | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV MONGO_VERSION 2.4.5 | |
ENV MONGO_PLATFORM linux-x86_64 | |
ENV MONGO_DISTRO linux-x86_64-2.4.5 | |
ENV MONGO_PORT 27016 | |
ENV MONGO_DBPATH /var/mongodb | |
run wget http://fastdl.mongodb.org/linux/mongodb-$MONGO_DISTRO.tgz | |
run tar -xzf mongodb-$MONGO_DISTRO.tgz | |
run mv mongodb-$MONGO_DISTRO /opt/mongo | |
run mkdir $MONGO_DBPATH && chown mg:mg $MONGO_DBPATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment