diff --git a/images/router/haproxy/Dockerfile.ocp b/images/router/haproxy/Dockerfile.ocp index 75436e69f..ca2fc8312 100644 --- a/images/router/haproxy/Dockerfile.ocp +++ b/images/router/haproxy/Dockerfile.ocp @@ -1,5 +1,11 @@ FROM registry.ci.openshift.org/ocp/5.0:haproxy-router-base -RUN INSTALL_PKGS="socat haproxy32 rsyslog procps-ng util-linux" && \ + +RUN curl -fLo /tmp/haproxy.rpm https://github.com/jcmoraisjr/openshift-router/raw/refs/heads/rpms/haproxy32-3.2.22-1.rhocp.el9.x86_64.rpm && \ + rpm -ivh /tmp/haproxy.rpm && \ + rm -f /tmp/haproxy.rpm && \ + haproxy -vv + +RUN INSTALL_PKGS="socat rsyslog procps-ng util-linux" && \ yum install -y --setopt=install_weak_deps=0 $INSTALL_PKGS && \ rpm -V $INSTALL_PKGS && \ yum clean all && \ diff --git a/images/router/haproxy28/Dockerfile.ocp b/images/router/haproxy28/Dockerfile.ocp index 74ac8d882..5aab2e951 100644 --- a/images/router/haproxy28/Dockerfile.ocp +++ b/images/router/haproxy28/Dockerfile.ocp @@ -1,5 +1,11 @@ FROM registry.ci.openshift.org/ocp/5.0:base-rhel9 -RUN INSTALL_PKGS="socat haproxy28" && \ + +RUN curl -fLo /tmp/haproxy.rpm https://github.com/jcmoraisjr/openshift-router/raw/refs/heads/rpms/haproxy28-2.8.27-1.rhaos4.23.el9.x86_64.rpm && \ + rpm -ivh /tmp/haproxy.rpm && \ + rm -f /tmp/haproxy.rpm && \ + haproxy -vv + +RUN INSTALL_PKGS="socat" && \ yum install -y --setopt=install_weak_deps=0 $INSTALL_PKGS && \ rpm -V $INSTALL_PKGS && \ yum clean all && \ diff --git a/images/router/haproxy32/Dockerfile.ocp b/images/router/haproxy32/Dockerfile.ocp index 11de965b4..8ac7667c8 100644 --- a/images/router/haproxy32/Dockerfile.ocp +++ b/images/router/haproxy32/Dockerfile.ocp @@ -1,5 +1,11 @@ FROM registry.ci.openshift.org/ocp/5.0:base-rhel9 -RUN INSTALL_PKGS="socat haproxy32" && \ + +RUN curl -fLo /tmp/haproxy.rpm https://github.com/jcmoraisjr/openshift-router/raw/refs/heads/rpms/haproxy32-3.2.22-1.rhocp.el9.x86_64.rpm && \ + rpm -ivh /tmp/haproxy.rpm && \ + rm -f /tmp/haproxy.rpm && \ + haproxy -vv + +RUN INSTALL_PKGS="socat" && \ yum install -y --setopt=install_weak_deps=0 $INSTALL_PKGS && \ rpm -V $INSTALL_PKGS && \ yum clean all && \