Files
openldap/Dockerfile
2026-05-04 07:07:52 +02:00

20 lines
457 B
Docker

FROM ubuntu:26.04
RUN apt-get update && \
echo "slapd slapd/no_configuration boolean true" | debconf-set-selections && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
slapd \
ldap-utils \
python3-jinja2 \
python3-ldap3 && \
rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint
COPY bootstrap/ /bootstrap/
RUN chmod +x /entrypoint
EXPOSE 389 636
ENTRYPOINT ["/entrypoint"]