services/openldap/Dockerfile
2024-12-04 21:56:29 +01:00

14 lines
271 B
Docker

FROM debian:stable
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt install -y slapd \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 389
EXPOSE 636
ENTRYPOINT ["/usr/sbin/slapd"]
CMD ["-h", "ldap:///", "-g", "root", "-u", "root", "-f", "/etc/ldap/slapd.conf"]