Customizations for kibana

This patchset contains customization of Dockerfile of kibana
container

Change-Id: I0081cbcfeea7d0cd270116b61f009ea1a797c330
Partially-implements: blueprint third-party-plugin-support
changes/52/346252/3
Ildar Iskhakov 6 years ago committed by Christian Berendt
parent 753adbb22d
commit 2187125b13
  1. 19
      docker/kibana/Dockerfile.j2

@ -1,23 +1,16 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %}
RUN useradd -r -m --user-group kibana \
&& usermod -a -G kolla kibana
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
kibana \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get -y install --no-install-recommends \
kibana \
&& apt-get clean
{% endif %}
{% set kibana_packages = ['kibana'] %}
RUN {{ macros.install_packages(kibana_packages | customizable("packages")) }}
{% block kibana_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER kibana

Loading…
Cancel
Save