fec6382d2d
1.Change "ironic_base" to "ironic_inspector" in ironic-inspector Dockerfile 2.add {% block footer %}{% endblock %} TrivialFix Closes-Bug: #1625131 Change-Id: Ibd02676e91a9b00cb1a46e7d00eaa3ab2c6c6412
27 lines
775 B
Django/Jinja
27 lines
775 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% block ironic_api_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
{% set ironic_api_packages = ['openstack-ironic-api'] %}
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
{% set ironic_api_packages = ['ironic-api'] %}
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(ironic_api_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
|
|
|
{% block ironic_api_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|
|
|
|
USER ironic
|