summaryrefslogtreecommitdiff
path: root/docs/sources/examples/mongodb
diff options
context:
space:
mode:
authorFred Lifton <fred.lifton@docker.com>2014-08-27 09:05:02 -0700
committerFred Lifton <fred.lifton@docker.com>2014-08-27 09:05:02 -0700
commitaba575c7546ba7d2914f0c3b8b3450667b3959ac (patch)
treed0158f0eab4b9710815c1a87e2ef3699e5185205 /docs/sources/examples/mongodb
parent4b54484843eacf6ce57d2fc16e6aacc70d964041 (diff)
parent7565cb309988345f9ed9daba87052f2bba116033 (diff)
downloaddocker-docs-1.1.tar.gz
Merge pull request #7755 from SvenDowideit/post-1.1.2-docs-update-1docs-1.1
Post 1.1.2 docs update 1
Diffstat (limited to 'docs/sources/examples/mongodb')
-rw-r--r--docs/sources/examples/mongodb/Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/sources/examples/mongodb/Dockerfile b/docs/sources/examples/mongodb/Dockerfile
index e7acc0fd85..9333eb5811 100644
--- a/docs/sources/examples/mongodb/Dockerfile
+++ b/docs/sources/examples/mongodb/Dockerfile
@@ -11,8 +11,7 @@ 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
# Update apt-get sources AND install MongoDB
-RUN apt-get update
-RUN apt-get install -y -q mongodb-org
+RUN apt-get update && apt-get install -y mongodb-org
# Create the MongoDB data directory
RUN mkdir -p /data/db
@@ -20,5 +19,5 @@ RUN mkdir -p /data/db
# Expose port #27017 from the container to the host
EXPOSE 27017
-# Set usr/bin/mongod as the dockerized entry-point application
-ENTRYPOINT usr/bin/mongod
+# Set /usr/bin/mongod as the dockerized entry-point application
+ENTRYPOINT ["/usr/bin/mongod"]