Merge "Update haproxy dockerfile for formatting"

This commit is contained in:
Jenkins 2016-04-26 16:58:10 +00:00 committed by Gerrit Code Review
commit 5ad8635b6d

View File

@ -3,12 +3,14 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install haproxy \
RUN yum -y install \
haproxy \
&& yum clean all
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN apt-get install -y --no-install-recommends haproxy \
RUN apt-get install -y --no-install-recommends \
haproxy \
&& apt-get clean
{% endif %}