Created
September 26, 2014 03:12
Revisions
-
kvigen created this gist
Sep 26, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ FROM ubuntu:precise RUN apt-get -qq update && apt-get -y install wget && \ wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.0.tgz && \ tar xzf mongodb-linux-x86_64-2.4.0.tgz && \ install -t /usr/bin mongodb-linux-x86_64-2.4.0/bin/* && \ mkdir -p /data/db /var/lib/mongodb/ && \ rm mongodb-linux-x86_64-2.4.0.tgz && \ rm -rf mongodb-linux-x86_64-2.4.0 EXPOSE 27017 ENTRYPOINT ["usr/bin/mongod"] CMD ["--noprealloc", "--smallfiles", "--nojournal", "--replSet", "TailTest"]