Update Memcached dockerfile for formatting

Change-Id: I7a234770c0728f064fcebf8ddb934452c548633b
Partial-Bug:#1569417
changes/44/304744/1
Swapnil Kulkarni (coolsvap) 7 years ago
parent 3f9f267a42
commit 7b3bfc40e3
  1. 6
      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 }}

Loading…
Cancel
Save