Keystone ubuntu binary container

Change-Id: Ibacbc5e2d3988c646998f6e69e2ea34c69e039f8
Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
Artur Zarzycki 2015-12-28 12:17:16 +01:00
parent c5c5c6e444
commit b4d692fae2

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'] %}