From 36286b9f0350b6f9d5f207efd3cd5d87520d6092 Mon Sep 17 00:00:00 2001 From: John Albietz Date: Thu, 26 Jun 2014 23:25:44 -0700 Subject: [PATCH] should clean to save disk space :-) --- ubuntu-mongodb/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ubuntu-mongodb/Dockerfile b/ubuntu-mongodb/Dockerfile index a5568dc..e58a6c0 100644 --- a/ubuntu-mongodb/Dockerfile +++ b/ubuntu-mongodb/Dockerfile @@ -5,9 +5,13 @@ MAINTAINER Clayton Coleman RUN apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 RUN echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | tee -a /etc/apt/sources.list.d/10gen.list -RUN apt-get update -RUN apt-get -y install apt-utils -RUN apt-get -y install mongodb-10gen +RUN apt-get update; \ + apt-get -y install apt-utils; \ + apt-get clean +RUN + apt-get update; \ + apt-get -y install mongodb-10gen; \ + apt-get clean RUN mkdir -p /var/lib/mongodb && \ touch /var/lib/mongodb/.keep && \