ldap (latest-arm64)

Published 2024-12-30 10:12:27 +00:00 by deon in docker/ldap

Installation

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

Image Layers

ADD alpine-minirootfs-3.21.0-aarch64.tar.gz / # buildkit
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 /etc/openldap/schema/data.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-12-30 10:12:27 +00:00
9
OCI / Docker
linux/arm64/v8
5.9 MiB
Versions (3) View all
latest 2024-12-30
latest-arm64 2024-12-30
latest-x86_64 2024-12-30