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 %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
ADD ./magnum.tar /
|
ADD magnum.tar /
|
||||||
RUN ln -s /magnum-* /magnum
|
RUN ln -s /magnum-* magnum \
|
||||||
|
|
||||||
RUN cd /magnum \
|
|
||||||
&& useradd --user-group magnum \
|
&& useradd --user-group magnum \
|
||||||
&& pip install -r requirements.txt \
|
&& pip --no-cache-dir install /magnum \
|
||||||
&& pip install /magnum \
|
&& mkdir -p /etc/magnum /var/log/magnum /home/magnum \
|
||||||
&& mkdir /etc/magnum /var/log/magnum \
|
|
||||||
&& cp -r /magnum/etc/* /etc/magnum/ \
|
&& cp -r /magnum/etc/* /etc/magnum/ \
|
||||||
&& rm -rf /root/.cache
|
&& chown -R magnum: /etc/magnum /var/log/magnum /home/magnum
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../../tools/build-docker-image
|
|
@ -1 +0,0 @@
|
|||||||
../../../tools/build-docker-image
|
|
Loading…
x
Reference in New Issue
Block a user