OSBS can automatically bump the release number, for that we just need to drop the label from the Dockerfile See https://pagure.io/ContainerSIG/container-sig/issue/1 Signed-off-by: Clement Verna <cverna@tutanota.com>
28 lines
1.1 KiB
Docker
28 lines
1.1 KiB
Docker
FROM registry.fedoraproject.org/fedora:rawhide
|
|
|
|
ENV NAME=haproxy ARCH=x86_64
|
|
LABEL MAINTAINER "Petr Hracek" <phracek@redhat.com>
|
|
LABEL summary="HAProxy reverse proxy for high availability environments." \
|
|
name="$FGC/$NAME" \
|
|
version="0" \
|
|
architecture="$ARCH" \
|
|
com.redhat.component=$NAME \
|
|
usage="docker run -p 80:80 docker.io/modularityimages/haproxy" \
|
|
help="Runs haproxy, which listens on port 80. No dependencies. See Help File below for more details." \
|
|
description="HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments." \
|
|
io.k8s.description="HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments." \
|
|
io.k8s.diplay-name="HAProxy 1.6 " \
|
|
io.openshift.expose-services="80:haproxy" \
|
|
io.openshift.tags="haproxy"
|
|
|
|
RUN dnf install -y --setopt=tsflags=nodocs haproxy which bash && \
|
|
dnf -y clean all
|
|
|
|
EXPOSE 80
|
|
|
|
ADD files /files
|
|
ADD help.md README.md /
|
|
|
|
ENTRYPOINT ["/files/docker-entrypoint.sh"]
|
|
CMD ["/usr/sbin/haproxy", "-p", "/run/haproxy.pid", "-f", "/etc/haproxy/haproxy.cfg", "-D", "s"]
|
|
|