2016-01-20 08:27:00 +01:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
|
|
|
|
RUN useradd -r -m --user-group kibana \
|
|
|
|
&& usermod -a -G kolla kibana
|
|
|
|
|
2016-03-12 05:11:00 +00:00
|
|
|
{% 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 install -y --no-install-recommends \
|
|
|
|
kibana \
|
|
|
|
&& apt-get clean
|
|
|
|
|
|
|
|
{% endif %}
|
2016-01-20 08:27:00 +01:00
|
|
|
|
|
|
|
{{ include_footer }}
|
|
|
|
|
|
|
|
USER kibana
|