kolla-ansible/docker/logging/rsyslog/Dockerfile.j2
inc0 1dfa9c79f9 rsyslog container
First container from logging stack

Change-Id: I8c8b6743e22a38969cb8a741f3176c5aed24f549
Implements: bp logging-container
2015-08-31 17:15:25 +02:00

18 lines
467 B
Django/Jinja
Executable File

FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %}
RUN yum -y install \
rsyslog \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
rsyslog \
&& apt-get clean
{% endif %}
COPY config-external.sh /opt/kolla/
COPY start.sh /
CMD ["/start.sh"]