Cleanup Postfix files more nicely
This commit is contained in:
parent
800bbce3d9
commit
35da2c422c
@ -8,7 +8,8 @@ RUN \
|
||||
# Install Postfix
|
||||
&& apk --no-cache add ca-certificates postfix s6 \
|
||||
# Cleanup
|
||||
&& rm -r /etc/postfix/access /etc/postfix/aliases /etc/postfix/canonical /etc/postfix/dynamicmaps.cf* /etc/postfix/generic /etc/postfix/header_checks /etc/postfix/postfix-files.d /etc/postfix/relocated /etc/postfix/transport /etc/postfix/virtual
|
||||
&& sed -ir '/^(#.*)?$/d' /etc/postfix/aliases \
|
||||
&& rm -r /etc/postfix/access /etc/postfix/canonical /etc/postfix/dynamicmaps.cf* /etc/postfix/generic /etc/postfix/header_checks /etc/postfix/postfix-files.d /etc/postfix/relocated /etc/postfix/transport /etc/postfix/virtual
|
||||
|
||||
COPY docker/ /
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user