Update Travis LDAP testing to use a CentOS based container, pulled
from quay.io, to avoid the new Docker hub pull rate-limiting which
is causing intermittent failures.
Submitted by: jorton, Lubos Uhliarik <luhliari redhat.com>
Github: closes #167
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1889011 13f79535-47bb-0310-9956-
ffa450edef68
--- /dev/null
+FROM quay.io/centos/centos:7
+RUN yum install -y yum-utils && \
+ yum install -y openldap openldap-clients openldap-servers openldap-devel && \
+ yum -y clean all --enablerepo='*'
+CMD /usr/sbin/slapd -u ldap -d1 '-h ldap:// ldapi:///'
# For LDAP testing, run slapd listening on port 8389 and populate the
# directory as described in t/modules/ldap.t in the test framework:
if test -v TEST_LDAP -a -x test/perl-framework/scripts/ldap-init.sh; then
- docker build -t httpd_ldap -f test/travis_Dockerfile_slapd test/
+ docker build -t httpd_ldap -f test/travis_Dockerfile_slapd.centos7 test/
pushd test/perl-framework
./scripts/ldap-init.sh
popd