ldap (latest-x86_64)
Installation
docker pull gitea.dege.au/docker/ldap:latest-x86_64
sha256:6b14541169a094d6a0910cd9bd5b7dda740eca3c919211fc3f2b539a6b0aaa72
Image Layers
ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi # buildkit |
RUN /bin/sh -c apk add --no-cache bash openldap openldap-back-mdb openldap-clients openldap-overlay-syncprov openldap-overlay-accesslog # buildkit |
ADD schema /etc/openldap/schema/custom # buildkit |
ADD tls /etc/openldap/tls # buildkit |
RUN /bin/sh -c sed -i -e 's/dc=my-domain,dc=com/c=AU/' /etc/openldap/slapd.ldif && sed -i -e 's/openldap-data/data/' /etc/openldap/slapd.ldif && mv /var/lib/openldap/openldap-data /var/lib/openldap/data && mkdir /etc/openldap/slapd.d /etc/openldap/schema/add.d /etc/openldap/schema/modify.d && ln -s ../misc.ldif /etc/openldap/schema/add.d/01-misc.ldif && ln -s ../custom/samba.ldif /etc/openldap/schema/add.d/02-samba.ldif && ln -s ../custom/wurley.ldif /etc/openldap/schema/add.d/10-wurley.ldif && ln -s ../custom/syncprov-enable.ldif /etc/openldap/schema/modify.d/20-syncprov-enable.ldif && ln -s ../custom/syncprov-options.ldif /etc/openldap/schema/modify.d/21-syncprov-options.ldif && ln -s ../custom/syncprov-index.ldif /etc/openldap/schema/modify.d/22-syncprov-index.ldif && ln -s ../custom/certinfo.ldif /etc/openldap/schema/modify.d/23-certinfo.ldif && ln -s ../custom/acl-schema.ldif /etc/openldap/schema/modify.d/90-acl-schema.ldif && ln -s ../custom/acl-data.ldif /etc/openldap/schema/modify.d/91-acl-data.ldif && mkdir /var/lib/openldap/run && chown -R ldap:ldap /etc/openldap/slapd.d /var/lib/openldap/data /var/lib/openldap/run # buildkit |
ENV SLAPD_CONFIG=/etc/openldap/slapd.d/cn=config |
COPY docker/init-docker /sbin/ # buildkit |
ENTRYPOINT ["/sbin/init-docker"] |
VOLUME [/var/lib/openldap/data] |
EXPOSE map[389/tcp:{} 636/tcp:{}] |
Details
Versions (3)
View all