
This makes Ironic build properly from source. Change-Id: Ic61cd945760843aae1f0a01738bca3b818fd2f69 Closes-Bug: #1500577
21 lines
495 B
Django/Jinja
21 lines
495 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN pip install ironic-discoverd
|
|
# discoverd no longer in delorean 9/28/2015, switch to inspector on TODO
|
|
#RUN yum -y install \
|
|
# openstack-ironic-discoverd \
|
|
# && yum clean all
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
COPY start.sh /
|
|
|
|
CMD ["/start.sh"]
|
|
|
|
{{ include_footer }}
|