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