update dockerfile documentation

This commit is contained in:
Paul 2020-07-17 22:11:04 +02:00 committed by GitHub
parent 17a777504b
commit 4dabb73397
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/*