69fc0bbde7
ironic-conductor service requires qemu-img and ipmitool utils. TrivialFix Change-Id: I5489087031c9b209ead862a531ce4544e20265ee
25 lines
543 B
Django/Jinja
25 lines
543 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum -y install openstack-ironic-conductor \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% elif install_type == 'source' %}
|
|
{% if base_distro in ['ubuntu', 'debian'] %}
|
|
|
|
RUN apt-get install -y --no-install-recommends \
|
|
qemu-utils \
|
|
ipmitool \
|
|
&& apt-get clean
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{{ include_footer }}
|
|
|
|
USER ironic
|