Blame Dockerfile

e34b782
FROM registry.fedoraproject.org/fedora:26
e34b782
e34b782
ENV NAME=haproxy ARCH=x86_64
e34b782
LABEL MAINTAINER "Petr Hracek" <phracek@redhat.com>
e34b782
LABEL summary="HAProxy reverse proxy for high availability environments." \
e34b782
    name="$FGC/$NAME" \
e34b782
    version="0" \
e34b782
    release="1.$DISTTAG" \
e34b782
    architecture="$ARCH" \
e34b782
    com.redhat.component=$NAME \
e34b782
    usage="docker run -p 80:80 docker.io/modularityimages/haproxy" \
e34b782
    help="Runs haproxy, which listens on port 80. No dependencies. See Help File below for more details." \
e34b782
    description="HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments." \
e34b782
    io.k8s.description="HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments." \
e34b782
    io.k8s.diplay-name="HAProxy 1.6 " \
e34b782
    io.openshift.expose-services="80:haproxy" \
e34b782
    io.openshift.tags="haproxy"
e34b782
e34b782
RUN dnf install -y --setopt=tsflags=nodocs haproxy which bash && \
e34b782
    dnf -y clean all
e34b782
e34b782
EXPOSE 80
e34b782
e34b782
ADD files /files
e34b782
ADD help.md README.md /
e34b782
e34b782
ENTRYPOINT ["/files/docker-entrypoint.sh"]
e34b782
CMD ["/usr/sbin/haproxy", "-p", "/run/haproxy.pid", "-f", "/etc/haproxy/haproxy.cfg", "-D", "s"]
e34b782