f098e76676
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
18 lines
421 B
Django/Jinja
Executable File
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"]
|