e0f0e2105f
Partially-implements: blueprint ironic-container Change-Id: I7869c49c851a95c12fffaf426abd6625f3f1a212
29 lines
757 B
Django/Jinja
29 lines
757 B
Django/Jinja
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
|
|
|
|
# until packaging is fixed, all of this is required
|
|
# api: policy
|
|
# conductor:MySQL-python
|
|
RUN yum -y install \
|
|
python-oslo-log \
|
|
python-oslo-concurrency \
|
|
python-oslo-policy \
|
|
MySQL-python \
|
|
&& yum clean all
|
|
|
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
|
|
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|
&& /bin/false
|
|
|
|
{% endif %}
|
|
{% elif install_type == 'source' %}
|
|
|
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|
&& /bin/false
|
|
|
|
{% endif %}
|