
This creates and moves the dependencies for Ubuntu into a common openstack-base container. This commit shows dramatically smaller sizes for all non-openstack containers. The Openstack container remain the same size. Change-Id: I2f46420d4b9edcfddda374caddcce906fc708f6c Partially-Implements: blueprint openstack-common-container
20 lines
620 B
Django/Jinja
20 lines
620 B
Django/Jinja
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-openstack-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-base.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 %}
|