OpenLDAP-FusionDirectory-Do.../Dockerfile

22 lines
523 B
Text
Raw Permalink Normal View History

2022-01-20 09:53:06 +01:00
FROM debian:bullseye-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y slapd fusiondirectory-schema fusiondirectory-plugin-*-schema ldap-utils
2022-01-20 09:53:06 +01:00
RUN rm -rf /etc/ldap/slapd.d/* /var/lib/ldap/*
EXPOSE 389 636
ENV URL="ldap:/// ldapi:///"
ENV CONF_DIR="/etc/ldap/slapd.d"
ENV DB_DIR="/var/lib/ldap"
ENV DEBUG_LEVEL="0"
ENV LDPA_ADMINPWD=
ENV LDAP_DOMAIN=
ENV LDAP_ORGANIZATION=
2022-01-20 09:53:06 +01:00
COPY ./start.sh /root/start.sh
RUN chmod +x /root/start.sh
ENTRYPOINT ["/root/start.sh"]