ADD file:40ad95eaf61b2797e8d2282bc2388bce34c3c24ed78e694695a8c3dbcd3ddbbb in / |
CMD ["bash"] |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y slapd fusiondirectory-schema fusiondirectory-plugin-*-schema ldap-utils # buildkit |
RUN /bin/sh -c rm -rf /etc/ldap/slapd.d/* /var/lib/ldap/* # buildkit |
EXPOSE map[389/tcp:{} 636/tcp:{}] |
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= |
COPY ./start.sh /root/start.sh # buildkit |
RUN /bin/sh -c chmod +x /root/start.sh # buildkit |
ENTRYPOINT ["/root/start.sh"] |