Unify Centos and Ubuntu Source Install - Magnum
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: Ie09a6e3d04af792539bdabe1310de6bad3ecccee Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
eecf6581a4
commit
ce54b56cb3
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -18,15 +18,12 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
{% endif %}
|
||||
{% elif install_type == 'source' %}
|
||||
|
||||
ADD ./magnum.tar /
|
||||
RUN ln -s /magnum-* /magnum
|
||||
|
||||
RUN cd /magnum \
|
||||
ADD magnum.tar /
|
||||
RUN ln -s /magnum-* magnum \
|
||||
&& useradd --user-group magnum \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install /magnum \
|
||||
&& mkdir /etc/magnum /var/log/magnum \
|
||||
&& pip --no-cache-dir install /magnum \
|
||||
&& mkdir -p /etc/magnum /var/log/magnum /home/magnum \
|
||||
&& cp -r /magnum/etc/* /etc/magnum/ \
|
||||
&& rm -rf /root/.cache
|
||||
&& chown -R magnum: /etc/magnum /var/log/magnum /home/magnum
|
||||
|
||||
{% endif %}
|
||||
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
@ -1 +0,0 @@
|
||||
../../../tools/build-docker-image
|
Loading…
Reference in New Issue
Block a user