Unify Centos and Ubuntu Source Install - Keystone
A change merged in the base allows for Centos and Ubuntu to install all python things to the same locations. This updates the source section to reflect that change. Change-Id: Ie3d0ce1bb72bad5b5eb6c0189fb6bcb757e6ed36 Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
eecf6581a4
commit
42eebad553
@ -48,17 +48,15 @@ RUN apt-get install -y --no-install-recommends \
|
||||
|
||||
{% endif %}
|
||||
|
||||
ADD ./keystone.tar /
|
||||
RUN ln -s /keystone-* /keystone
|
||||
|
||||
RUN cd /keystone \
|
||||
ADD keystone.tar /
|
||||
RUN ln -s /keystone-* keystone \
|
||||
&& useradd --user-group keystone \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install --install-option="--install-scripts=/usr/bin" /keystone \
|
||||
&& pip --no-cache-dir install /keystone \
|
||||
&& mkdir -p /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \
|
||||
&& cp -r /keystone/etc/* /etc/keystone/ \
|
||||
&& cp -a httpd/keystone.py /var/www/cgi-bin/keystone/admin \
|
||||
&& cp -a httpd/keystone.py /var/www/cgi-bin/keystone/main
|
||||
&& cp /keystone/httpd/keystone.py /var/www/cgi-bin/keystone/admin \
|
||||
&& cp /keystone/httpd/keystone.py /var/www/cgi-bin/keystone/main \
|
||||
&& chown -R keystone: /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user