fabb22d505
Change-Id: Ibf74db39348dfb6f56f4fca0aff142a75ef53d38 Partially-Implements: blueprint add-panko
26 lines
792 B
Django/Jinja
26 lines
792 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}panko-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% block panko_api_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
{% set panko_api_packages = ['openstack-panko-api'] %}
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|
&& /bin/false
|
|
|
|
{% endif %}
|
|
{{ macros.install_packages(panko_api_packages | customizable("packages")) }}
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_panko_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_panko_extend_start
|
|
|
|
{% block panko_api_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|