kolla/docker/kibana/Dockerfile.j2
Marcin Juszkiewicz b050ef63e8 kibana: enable for non-x86 on Debian/Ubuntu
As upstream generated 'all' package as 'amd64' one I took some time and
repackaged it.

Change-Id: Ie84ed771ffa9ecd70b945673727895c8edad30eb
2020-02-14 09:01:01 +00:00

29 lines
890 B
Django/Jinja

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