b4e9f56db4
Murano is not available in RDO so only from source install works. Change-Id: I77aacea53b8e7782c04495f43ea7e668eaee06ab Partially-implements: blueprint dockerfile-template
24 lines
581 B
Django/Jinja
24 lines
581 B
Django/Jinja
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if install_type == 'binary' %}
|
|
|
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|
&& /bin/false
|
|
|
|
{% elif install_type == 'source' %}
|
|
|
|
ADD ./murano.tar /
|
|
RUN ln -s /murano-* /murano
|
|
|
|
RUN cd /murano \
|
|
&& pip install -r requirements.txt \
|
|
&& pip install /murano \
|
|
&& mkdir /etc/murano \
|
|
&& cd /murano \
|
|
&& tox -e genconfig \
|
|
&& cp -r etc/murano/* /etc/murano/ \
|
|
&& rm -rf /root/.cache
|
|
|
|
{% endif %}
|