b050ef63e8
As upstream generated 'all' package as 'amd64' one I took some time and repackaged it. Change-Id: Ie84ed771ffa9ecd70b945673727895c8edad30eb
29 lines
890 B
Django/Jinja
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
|