You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
401 B
16 lines
401 B
FROM registry.access.redhat.com/rhel7:latest
|
|
|
|
ADD rsyslog.conf /etc/rsyslog.conf
|
|
RUN yum update -y \
|
|
&& yum -y install rsyslog \
|
|
&& yum clean all \
|
|
&& rm -rf /var/cache/yum \
|
|
&& chmod -R ugo+rw,+X /etc/rsyslog.conf /var/log/ /var/run/
|
|
|
|
VOLUME /var/log/
|
|
WORKDIR /var/log/
|
|
|
|
EXPOSE 1601
|
|
ENTRYPOINT [ "/usr/sbin/rsyslogd" ]
|
|
CMD [ "-4", "-n", "-f", "/etc/rsyslog.conf", "-i", "/var/run/rsyslog.pid" ]
|
|
|
|
|