From ca6f860054ddf3b4f8b4e9a407d7c0153073dd86 Mon Sep 17 00:00:00 2001 From: Michal Czeraszkiewicz Date: Sun, 9 Nov 2014 01:29:35 +0100 Subject: [PATCH] Install haproxy according to guideline from http://haproxy.debian.net/ --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6e2b736..a07ddd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ FROM dockerfile/ubuntu # Install Haproxy. RUN \ - sed -i 's/^# \(.*-backports\s\)/\1/g' /etc/apt/sources.list && \ + add-apt-repository ppa:vbernat/haproxy-1.5 && \ apt-get update && \ - apt-get install -y haproxy=1.5.6-1~ubuntu14.04.1 && \ + apt-get install -y haproxy && \ sed -i 's/^ENABLED=.*/ENABLED=1/' /etc/default/haproxy && \ rm -rf /var/lib/apt/lists/*