Add LDAP support to keystone Dockerfile

Currently, the keystone docker image doesn't support LDAP/AD
which is a common to manage users and group for identity
management and authentication.

This change adds ldappool to the builds.

Change-Id: Ida5a58f6c57cd173642f0a801dc9ecd84ded55e8
Closes-Bug: #1600586
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
This commit is contained in:
Dave Walker (Daviey) 2016-07-10 12:32:25 +01:00
parent e255af81ec
commit 37b95f2ade

View File

@ -8,6 +8,7 @@ RUN yum -y install openstack-keystone \
python-keystoneclient \
httpd \
mod_wsgi \
python-ldappool \
&& yum clean all
RUN mkdir -p /var/www/cgi-bin/keystone \
@ -21,6 +22,7 @@ RUN apt-get -y install --no-install-recommends \
keystone \
apache2 \
libapache2-mod-wsgi \
python-ldappool \
&& apt-get clean
RUN mkdir -p /var/www/cgi-bin/keystone \
@ -35,6 +37,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
RUN yum -y install \
httpd \
mod_wsgi \
python-ldappool \
&& yum clean all \
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
@ -43,6 +46,7 @@ RUN yum -y install \
RUN apt-get -y install --no-install-recommends \
apache2 \
libapache2-mod-wsgi \
python-ldappool \
&& echo > /etc/apache2/ports.conf \
&& apt-get clean