Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:stretch
MAINTAINER Christian Luginbühl <[email protected]>

ENV OPENLDAP_VERSION 2.4.44
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"]