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
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
FROM debian:buster
EXPOSE 389
EXPOSE 389/tcp
ENV DEBIAN_FRONTEND noninteractive \
CONFDIR /etc/ldap/slapd.d \
@ -18,7 +18,7 @@ RUN apt-get update && \
# allow access to certificates
usermod -a -G ssl-cert openldap && \
# remove the default config, since the entrypoint
# will populate it by hand.
# will populate it automatically.
rm -rf /etc/ldap/slapd.d && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*