Skip to content

Commit 347d7b3

Browse files
committed
Merge r1923479 from trunk:
CI: Try to cope with CentOS Stream containers being out-of-sync with the yum repos when building the slapd container. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1923480 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1d76de0 commit 347d7b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM quay.io/centos/centos:stream9
2-
RUN dnf install -y epel-release && \
3-
dnf install -y openldap openldap-clients openldap-servers openldap-devel && \
4-
dnf -y clean all --enablerepo='*'
2+
RUN rpm -q openldap-servers || (dnf install --refresh -y epel-release && \
3+
dnf install --nobest -y openldap-clients openldap-servers openldap-devel && \
4+
dnf -y clean all --enablerepo='*')
55
CMD /usr/sbin/slapd -u ldap -d1 '-h ldap:// ldapi:///'

0 commit comments

Comments
 (0)