aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/haproxy/Dockerfile.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/docker/haproxy/Dockerfile.j2 b/docker/haproxy/Dockerfile.j2
index 38f5dc5c1..d21969629 100644
--- a/docker/haproxy/Dockerfile.j2
+++ b/docker/haproxy/Dockerfile.j2
@@ -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 %}