865ba80231
Currently we seem to be experiencing races between containers. If another containers tries to write to rsyslog before rsyslog container is up and running it will create /dev/log as directory, and that will prevent rsyslog from starting. Change-Id: I88ac27693d12e605f95e3a945fc98783516d7933 Closes-Bug: #1501694 backport: liberty
19 lines
447 B
Django/Jinja
19 lines
447 B
Django/Jinja
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 extend_start.sh /usr/local/bin/kolla_extend_start
|
|
|
|
{{ include_footer }}
|