Skip to content

Commit

Permalink
increase debug log function.
Browse files Browse the repository at this point in the history
  • Loading branch information
e0077 committed Feb 16, 2017
1 parent d168f14 commit d1ca362
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM debian:jessie
MAINTAINER Christian Luginbühl <[email protected]>

ENV OPENLDAP_VERSION 2.4.40
ENV DEBUG_LEVEL 32768

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
Expand All @@ -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"]

0 comments on commit d1ca362

Please sign in to comment.