blob: 9ce96618e3cf9f3d03ffd707abff72aa8f9c72fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN apt-get install -y --no-install-recommends \
apache2 \
keystone \
libapache2-mod-wsgi \
python-keystoneclient \
&& apt-get clean
RUN curl -o /etc/apache2/sites-available/wsgi-keystone.conf \
https://raw.githubusercontent.com/openstack/keystone/stable/kilo/httpd/wsgi-keystone.conf
RUN ln -s /etc/apache2/sites-available/wsgi-keystone.conf /etc/apache2/sites-enabled
RUN mkdir -p /var/www/cgi-bin/keystone
RUN cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main
RUN cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin
RUN chown -R keystone:keystone /var/www/cgi-bin/keystone
RUN chmod 755 /var/www/cgi-bin/keystone/*
COPY start.sh /
CMD ["/start.sh"]
|