remove /etc/cron.weekly/fstrim since we don't want to fstrim in docker (#669)

This commit is contained in:
Daniel Panteleit 2017-07-23 21:03:06 +02:00 committed by Thomas VIAL
parent af8b1657ab
commit 50dae03997
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ RUN apt-get update -q --fix-missing && \
rm -rf /usr/share/man/* && \
rm -rf /usr/share/doc/* && \
touch /var/log/auth.log && \
update-locale
update-locale && \
rm -f /etc/cron.weekly/fstrim
# Enables Clamav
RUN (echo "0 0,6,12,18 * * * /usr/bin/freshclam --quiet" ; crontab -l) | crontab - && \