mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
add ldapadd
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
1a7a15a587
commit
9ccf93425b
|
@ -17,7 +17,8 @@
|
||||||
#
|
#
|
||||||
# You can load an LDIF file (to set up your directory) like so:
|
# You can load an LDIF file (to set up your directory) like so:
|
||||||
#
|
#
|
||||||
# ldapadd -h localhost -p <host_port_of_container> -c -x \
|
# docker exec -it your_container ldapadd \
|
||||||
|
# -h localhost -p <host_port_of_container> -c -x \
|
||||||
# -D cn=admin,dc=mycorp,dc=com -W -f data.ldif
|
# -D cn=admin,dc=mycorp,dc=com -W -f data.ldif
|
||||||
#
|
#
|
||||||
# Be aware that by default the LDAP port is accessible from anywhere if the \
|
# Be aware that by default the LDAP port is accessible from anywhere if the \
|
||||||
|
@ -28,6 +29,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
RUN apt-get update && LC_ALL=C DEBIAN_FRONTEND=noninteractive \
|
RUN apt-get update && LC_ALL=C DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
|
ldap-utils \
|
||||||
slapd \
|
slapd \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user