CI: Try to cope with CentOS Stream containers being out-of-sync with

the yum repos when building the slapd container. [skip ci]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923479 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2025-01-31 14:28:57 +00:00
parent a4194a3988
commit 0ba38c2527

View File

@ -1,5 +1,5 @@
FROM quay.io/centos/centos:stream9
RUN dnf install -y epel-release && \
dnf install -y openldap openldap-clients openldap-servers openldap-devel && \
dnf -y clean all --enablerepo='*'
RUN rpm -q openldap-servers || (dnf install --refresh -y epel-release && \
dnf install --nobest -y openldap-clients openldap-servers openldap-devel && \
dnf -y clean all --enablerepo='*')
CMD /usr/sbin/slapd -u ldap -d1 '-h ldap:// ldapi:///'