From 18a8b346cd28cf1a1b9e0dd40d4211d39633263b Mon Sep 17 00:00:00 2001 From: e1740 Date: Thu, 1 Nov 2018 09:36:06 +0800 Subject: [PATCH] add ldapi --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]