blob: f55de5214041c6ff31f4af10cf9c06bf6d4ff26e [file] [log] [blame]
FROM haproxy:1.7
RUN apt-get update && \
apt-get -y install gettext-base netcat && \
mkdir /var/lib/haproxy && \
mkdir /var/run/haproxy && \
useradd haproxy && \
chown haproxy: /var/lib/haproxy /var/run/haproxy
COPY haproxy.cfg.template /usr/local/etc/haproxy/
COPY docker-entrypoint.sh /