Public | Automated Build

Last pushed: 2 years ago
Dockerfile
FROM ubuntu:14.04 MAINTAINER Tutum Labs <support@tutum.co> RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && \ echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list && \ apt-get update && \ apt-get install -y --force-yes pwgen mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-mongos mongodb-org-tools && \ echo "mongodb-org hold" | dpkg --set-selections && echo "mongodb-org-server hold" | dpkg --set-selections && \ echo "mongodb-org-shell hold" | dpkg --set-selections && \ echo "mongodb-org-mongos hold" | dpkg --set-selections && \ echo "mongodb-org-tools hold" | dpkg --set-selections VOLUME /data/db ENV AUTH yes ENV STORAGE_ENGINE wiredTiger ENV JOURNALING yes ADD run.sh /run.sh ADD set_mongodb_password.sh /set_mongodb_password.sh EXPOSE 27017 28017 CMD ["/run.sh"]
Source Repository