Empty /etc/aliases to avoid error in log regarding format (we use virtual aliases in this image). (#429)

Fixes #425
This commit is contained in:
Thomas VIAL 2016-12-25 15:56:35 +01:00 committed by GitHub
parent 63cf0f9965
commit ae9eaae68e

View file

@ -102,6 +102,7 @@ RUN sed -i 's/START_DAEMON=no/START_DAEMON=yes/g' /etc/default/fetchmail
# Configures Postfix # Configures Postfix
COPY target/postfix/main.cf target/postfix/master.cf /etc/postfix/ COPY target/postfix/main.cf target/postfix/master.cf /etc/postfix/
RUN echo "" > /etc/aliases
# Configuring Logs # Configuring Logs
RUN sed -i -r "/^#?compress/c\compress\ncopytruncate" /etc/logrotate.conf && \ RUN sed -i -r "/^#?compress/c\compress\ncopytruncate" /etc/logrotate.conf && \