HAProxy 2.1 with inotify tools support.
docker run -it --rm --name haproxy-syntax-check smartnms/haproxy:2.1 -c -f /usr/local/etc/haproxy/haproxy.cfgdocker-compose.yml
docker-compose run --rm haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg#
# docker build -t smartnms/haproxy:2.1 .
#
FROM haproxy:2.1
LABEL maintainer="wingsun97@qq.com"
RUN apt-get update && apt-get install -y inotify-tools \
&& apt-get clean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
/tmp/* \
/var/tmp/*
COPY docker-entrypoint.sh /