ldap (latest-arm64)

Published 2024-10-16 07:40:00 +00:00 by deon in docker/ldap

Installation

docker pull gitea.dege.au/docker/ldap:latest-arm64
sha256:9ec11fb95ae4669b1ca516560a80f985b5eec154481d0293525c700835280f12

Image Layers

ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 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
Container
2024-10-16 07:40:00 +00:00
5
OCI / Docker
linux/arm64/v8
6.1 MiB
Versions (3) View all
latest 2024-10-16
latest-arm64 2024-10-16
latest-x86_64 2024-10-16