Update Apache Config to be more robust (#18)

This commit is contained in:
Pete Birley 2017-01-12 04:33:29 +00:00 committed by Sam Yaple
parent 72aa1f7e68
commit eb2bad86c4
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ RUN set -x \
# Project specific command block start
&& pip install --no-index --no-compile --find-links /tmp/packages --constraint /tmp/packages/upper-constraints.txt python-memcached pymysql \
&& rm /etc/apache2/ports.conf /etc/apache2/sites-enabled/* /etc/apache2/sites-available/* \
&& touch /etc/apache2/ports.conf \
&& cp /virtualenv/bin/keystone-wsgi-* /usr/bin/ \
# Provide compatibility with older format keystone apache config:
&& mkdir -p /var/www/cgi-bin/keystone \

View File

@ -49,6 +49,7 @@ RUN set -x \
# Project specific command block start
&& pip install --no-index --no-compile --find-links /tmp/packages --constraint /tmp/packages/upper-constraints.txt python-memcached pymysql \
&& rm /etc/apache2/ports.conf /etc/apache2/sites-enabled/* /etc/apache2/sites-available/* \
&& touch /etc/apache2/ports.conf \
&& cp /virtualenv/bin/keystone-wsgi-* /usr/bin/ \
# Provide compatibility with older format keystone apache config:
&& mkdir -p /var/www/cgi-bin/keystone \