Customizations for kibana
This patchset contains customization of Dockerfile of kibana container Change-Id: I0081cbcfeea7d0cd270116b61f009ea1a797c330 Partially-implements: blueprint third-party-plugin-support
This commit is contained in:
parent
753adbb22d
commit
2187125b13
@ -1,23 +1,16 @@
|
|||||||
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
RUN useradd -r -m --user-group kibana \
|
RUN useradd -r -m --user-group kibana \
|
||||||
&& usermod -a -G kolla kibana
|
&& usermod -a -G kolla kibana
|
||||||
|
|
||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% set kibana_packages = ['kibana'] %}
|
||||||
|
RUN {{ macros.install_packages(kibana_packages | customizable("packages")) }}
|
||||||
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 %}
|
|
||||||
|
|
||||||
|
{% block kibana_footer %}{% endblock %}
|
||||||
|
{% block footer %}{% endblock %}
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
USER kibana
|
USER kibana
|
||||||
|
Loading…
x
Reference in New Issue
Block a user