remove not needed log files after build

This commit is contained in:
Lukas Elsner 2020-01-15 08:29:39 -05:00 committed by Erik Wramner
parent ae2aa6eeb4
commit b476118514

View file

@ -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/AllowSupplementaryGroups false/AllowSupplementaryGroups true/g' /etc/clamav/clamd.conf && \
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
COPY target/dovecot/auth-passwdfile.inc target/dovecot/??-*.conf /etc/dovecot/conf.d/