FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }} LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" {% block kibana_header %}{% endblock %} {% import "macros.j2" as macros with context %} {{ macros.enable_extra_repos(['kibana']) }} {{ macros.configure_user(name='kibana') }} {% if base_arch != 'x86_64' and base_distro in ['debian', 'ubuntu'] %} {% set kibana_packages = [ 'nodejs', 'http://obs.linaro.org/home:/marcin.juszkiewicz/debian-buster/all/kibana_5.6.16-0linaro1_all.deb' ] %} {% else %} {% set kibana_packages = ['kibana'] %} {% endif %} {{ macros.install_packages(kibana_packages | customizable("packages")) }} COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start {% block kibana_footer %}{% endblock %} {% block footer %}{% endblock %} USER kibana