Merge "Keystone ubuntu binary container"

This commit is contained in:
Jenkins 2015-12-30 08:37:02 +00:00 committed by Gerrit Code Review
commit 44987794de

View File

@ -15,6 +15,19 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
&& cp -a /usr/share/keystone/keystone.wsgi /var/www/cgi-bin/keystone/admin \
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
keystone \
apache2 \
libapache2-mod-wsgi \
&& apt-get clean
RUN mkdir -p /var/www/cgi-bin/keystone \
&& cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main \
&& cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin \
&& echo > /etc/apache2/ports.conf
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}