Added rsyslog to enable container logging to stdout. Closes issue #1
This commit is contained in:
@ -3,13 +3,16 @@ FROM centos:latest
|
||||
MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com
|
||||
|
||||
RUN yum install -y epel-release && yum update -y && \
|
||||
yum install -y cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 mailx \
|
||||
perl supervisor postfix
|
||||
yum install -y cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 mailx \
|
||||
perl supervisor postfix rsyslog
|
||||
RUN sed -i -e "s/^nodaemon=false/nodaemon=true/" /etc/supervisord.conf
|
||||
RUN sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf
|
||||
|
||||
COPY etc/*.conf /etc/
|
||||
COPY etc/rsyslog.d/* /etc/rsyslog.d
|
||||
COPY run.sh /
|
||||
RUN chmod +x /run.sh
|
||||
COPY etc/supervisord.d/postfix.ini /etc/supervisord.d/
|
||||
COPY etc/supervisord.d/*.ini /etc/supervisord.d/
|
||||
RUN newaliases
|
||||
|
||||
EXPOSE 25
|
||||
|
Reference in New Issue
Block a user