diff --git a/Dockerfile b/Dockerfile index 7183159..f0b3d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ ENV DEBUG_LEVEL 32768 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ + ldap-utils \ slapd=${OPENLDAP_VERSION}* && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* @@ -23,4 +24,4 @@ VOLUME ["/etc/ldap", "/var/lib/ldap"] ENTRYPOINT ["/entrypoint.sh"] -CMD ["sh", "-c", "slapd -d ${DEBUG_LEVEL} -u openldap -g openldap"] +CMD ["sh", "-c", "slapd -h 'ldap:/// ldapi:///' -d ${DEBUG_LEVEL} -u openldap -g openldap"]