Public | Automated Build

Last pushed: 3 years ago
Dockerfile
# Format: FROM repository[:version] FROM ubuntu:latest # Installation: # Import MongoDB public GPG key AND create a MongoDB list file RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 RUN echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/10gen.list RUN apt-get update RUN apt-get install -y -q mongodb-org RUN mkdir -p /data/db EXPOSE 27017 ENTRYPOINT usr/bin/mongod
Source Repository