kolla-ansible/docker/logging/rsyslog/Dockerfile.j2
Sam Yaple f098e76676 Remove config-external for rsyslog
Additionally, fix privleges for rsyslog container. It needs to be
privleged otherwise it will complain about creating device node

Change-Id: I364858f0a1df01b53cee46db3ec7cd5ecbe82c54
Partially-Implements: blueprint replace-config-external
2015-09-28 13:46:27 -07:00

18 lines
421 B
Django/Jinja
Executable File

FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
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 start.sh /
CMD ["/start.sh"]