mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
remove not needed log files after build
This commit is contained in:
parent
ae2aa6eeb4
commit
b476118514
|
@ -133,7 +133,8 @@ RUN echo "0 */6 * * * clamav /usr/bin/freshclam --quiet" > /etc/cron.d/clamav-fr
|
||||||
sed -i 's/Foreground false/Foreground true/g' /etc/clamav/clamd.conf && \
|
sed -i 's/Foreground false/Foreground true/g' /etc/clamav/clamd.conf && \
|
||||||
sed -i 's/AllowSupplementaryGroups false/AllowSupplementaryGroups true/g' /etc/clamav/clamd.conf && \
|
sed -i 's/AllowSupplementaryGroups false/AllowSupplementaryGroups true/g' /etc/clamav/clamd.conf && \
|
||||||
mkdir /var/run/clamav && \
|
mkdir /var/run/clamav && \
|
||||||
chown -R clamav:root /var/run/clamav
|
chown -R clamav:root /var/run/clamav && \
|
||||||
|
rm -rf /var/log/clamav/
|
||||||
|
|
||||||
# Configures Dovecot
|
# Configures Dovecot
|
||||||
COPY target/dovecot/auth-passwdfile.inc target/dovecot/??-*.conf /etc/dovecot/conf.d/
|
COPY target/dovecot/auth-passwdfile.inc target/dovecot/??-*.conf /etc/dovecot/conf.d/
|
||||||
|
|
Loading…
Reference in a new issue