update dockerfile documentation
This commit is contained in:
parent
17a777504b
commit
4dabb73397
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
FROM debian:buster
|
FROM debian:buster
|
||||||
EXPOSE 389
|
EXPOSE 389/tcp
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive \
|
ENV DEBIAN_FRONTEND noninteractive \
|
||||||
CONFDIR /etc/ldap/slapd.d \
|
CONFDIR /etc/ldap/slapd.d \
|
||||||
|
@ -18,7 +18,7 @@ RUN apt-get update && \
|
||||||
# allow access to certificates
|
# allow access to certificates
|
||||||
usermod -a -G ssl-cert openldap && \
|
usermod -a -G ssl-cert openldap && \
|
||||||
# remove the default config, since the entrypoint
|
# remove the default config, since the entrypoint
|
||||||
# will populate it by hand.
|
# will populate it automatically.
|
||||||
rm -rf /etc/ldap/slapd.d && \
|
rm -rf /etc/ldap/slapd.d && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
Loading…
Reference in a new issue