Public | Automated Build

Last pushed: 3 years ago
Dockerfile
FROM ubuntu:14.04 MAINTAINER Vishnu Nair "vishnu.nair66@gmail.com" RUN apt-get update && apt-get install -y software-properties-common python-software-properties && \ add-apt-repository ppa:vbernat/haproxy-1.5 && \ apt-get update && \ apt-get install -y haproxy socat && \ rm -rf /var/lib/apt/lists/* ADD haproxy.cfg /etc/haproxy/haproxy.cfg RUN echo 'EXTRAOPTS="-db"' >> /etc/default/haproxy EXPOSE 80 443 CMD ["haproxy", "-f", "/etc/haproxy/haproxy.cfg", "-p", "-/var/run/haproxy.pid"]
Source Repository