kolla-ansible/docker/ironic/ironic-conductor/Dockerfile.j2
Andrey Shestakov 69fc0bbde7 Add required packages to ironic-conductor container
ironic-conductor service requires qemu-img and ipmitool utils.

TrivialFix
Change-Id: I5489087031c9b209ead862a531ce4544e20265ee
2015-11-26 16:22:45 +02:00

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