cbd42ca6e9
Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir
20 lines
605 B
Django/Jinja
20 lines
605 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 \
|
|
&& useradd --user-group murano \
|
|
&& pip --no-cache-dir install /murano \
|
|
&& mkdir -p /etc/murano /var/log/murano /home/murano \
|
|
&& cp -r /murano/etc/murano/* /etc/murano/ \
|
|
&& chown -R murano: /etc/murano /var/log/murano /home/murano
|
|
|
|
{% endif %}
|