kolla-ansible/docker/kibana/Dockerfile.j2
Duong Ha-Quang 92b2fd94c1 Fix Kibana image build error
TrivialFix
Closes-Bug: #1617877

Change-Id: I029e7589716b7d4fd29d4fc75bafc434ea275a9f
2016-08-29 18:44:43 +07:00

17 lines
428 B
Django/Jinja

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
{% set kibana_packages = ['kibana'] %}
{{ macros.install_packages(kibana_packages | customizable("packages")) }}
{% block kibana_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
USER kibana