Merge "Keystone ubuntu binary container"
This commit is contained in:
commit
44987794de
@ -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 \
|
&& 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
|
&& 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 %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
|
||||||
|
Loading…
Reference in New Issue
Block a user