mirror of
https://github.com/luzifer-docker/openldap.git
synced 2024-11-15 04:32:41 +00:00
23 lines
484 B
Docker
23 lines
484 B
Docker
FROM debian:wheezy
|
|
|
|
MAINTAINER Christian Luginbühl <dinke@pimprecords.com>
|
|
|
|
ENV OPENLDAP_VERSION 2.4.31
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
ldap-utils=${OPENLDAP_VERSION}* \
|
|
slapd=${OPENLDAP_VERSION}* \
|
|
vim && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
EXPOSE 389
|
|
|
|
VOLUME ["/var/lib/ldap", "/etc/ldap"]
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
CMD ["slapd", "-d", "32768"]
|