diff --git a/docker/haproxy/Dockerfile.j2 b/docker/haproxy/Dockerfile.j2
index bc040d178151167cbe562807ecfa558b0792ca79..e4ee3664df3ee94a927f98f3a7d5af491c86ff68 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