From d1ca36276460ad5e3e509f633ded30ca4428c53d Mon Sep 17 00:00:00 2001 From: e0077 Date: Thu, 16 Feb 2017 13:21:38 +0800 Subject: [PATCH] increase debug log function. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d9e9780..7183159 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM debian:jessie MAINTAINER Christian Luginbühl ENV OPENLDAP_VERSION 2.4.40 +ENV DEBUG_LEVEL 32768 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ @@ -22,4 +23,4 @@ VOLUME ["/etc/ldap", "/var/lib/ldap"] ENTRYPOINT ["/entrypoint.sh"] -CMD ["slapd", "-d", "32768", "-u", "openldap", "-g", "openldap"] +CMD ["sh", "-c", "slapd -d ${DEBUG_LEVEL} -u openldap -g openldap"]