From 7b3bfc40e3b6cef3d1a9d59cb2109ddb84838364 Mon Sep 17 00:00:00 2001 From: "Swapnil Kulkarni (coolsvap)" Date: Tue, 12 Apr 2016 21:47:04 +0530 Subject: [PATCH] Update Memcached dockerfile for formatting Change-Id: I7a234770c0728f064fcebf8ddb934452c548633b Partial-Bug:#1569417 --- docker/memcached/Dockerfile.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/memcached/Dockerfile.j2 b/docker/memcached/Dockerfile.j2 index eedda678e3..73972a6e23 100644 --- a/docker/memcached/Dockerfile.j2 +++ b/docker/memcached/Dockerfile.j2 @@ -4,14 +4,16 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% set user = 'memcached' %} -RUN yum -y install memcached \ +RUN yum -y install \ + memcached \ && yum clean all \ && usermod -a -G kolla {{ user }} {% elif base_distro in ['ubuntu', 'debian'] %} {% set user = 'memcache' %} -RUN apt-get install -y --no-install-recommends memcached \ +RUN apt-get install -y --no-install-recommends \ + memcached \ && apt-get clean \ && usermod -a -G kolla {{ user }}