diff options
Diffstat (limited to 'docker/haproxy')
| -rw-r--r-- | docker/haproxy/Dockerfile.j2 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docker/haproxy/Dockerfile.j2 b/docker/haproxy/Dockerfile.j2 index bc040d178..e4ee3664d 100644 --- a/docker/haproxy/Dockerfile.j2 +++ b/docker/haproxy/Dockerfile.j2 @@ -6,12 +6,7 @@ MAINTAINER {{ maintainer }} RUN yum -y install haproxy \ && yum clean all -{% elif base_distro == 'ubuntu' %} - -RUN apt-get install -y --no-install-recommends -t trusty-backports haproxy \ - && apt-get clean - -{% elif base_distro == 'debian' %} +{% elif base_distro in ['debian', 'ubuntu'] %} RUN apt-get install -y --no-install-recommends haproxy \ && apt-get clean |
