mirror of
https://github.com/luzifer-docker/openldap.git
synced 2024-12-20 20:51:17 +00:00
2e4b41c48e
adapded clone from Christian Luginbühl <dinkel@pimprecords.com> docker-openldap
21 lines
367 B
Docker
21 lines
367 B
Docker
FROM alpine
|
|
|
|
MAINTAINER Daniel Guerra
|
|
|
|
ENV OPENLDAP_VERSION 2.4.44-r0
|
|
|
|
RUN apk update \
|
|
&& apk add openldap \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
EXPOSE 389
|
|
|
|
VOLUME ["/etc/openldap-dist", "/var/lib/openldap"]
|
|
|
|
COPY modules/ /etc/openldap/modules
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
CMD ["slapd", "-d", "32768", "-u", "ldap", "-g", "ldap"]
|