From 8fbed14b5ea82b76cd1f58dc235ac6f2401dac7c Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Sun, 23 Aug 2015 11:47:58 +0000 Subject: [PATCH] Ubuntu - Mongodb This is only to get the container building and not failing for Ubuntu. The actual implementation of this container is not done for either Centos or Ubuntu builds. Change-Id: I48dc9fe75adffe4df1d66a70f01cded1e1b17934 Partially-Implements: blueprint install-from-ubuntu --- docker_templates/mongodb/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker_templates/mongodb/Dockerfile.j2 b/docker_templates/mongodb/Dockerfile.j2 index 91e8800074..16f8cd2fcb 100644 --- a/docker_templates/mongodb/Dockerfile.j2 +++ b/docker_templates/mongodb/Dockerfile.j2 @@ -10,8 +10,8 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ - && /bin/false +RUN apt-get install -y --no-install-recommends mongodb-server \ + && apt-get clean {% endif %}