-f option removed from rm commands

Let build fail, if file does not exist.
This commit is contained in:
Casper 2020-04-19 11:39:43 +02:00 committed by GitHub
parent 5d79e56bf0
commit 78fd5b8760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ RUN \
rm -rf /usr/share/doc/* && \
touch /var/log/auth.log && \
update-locale && \
rm -f /etc/postsrsd.secret && \
rm -f /etc/cron.daily/00logwatch
rm /etc/postsrsd.secret && \
rm /etc/cron.daily/00logwatch
RUN echo "0 */6 * * * clamav /usr/bin/freshclam --quiet" > /etc/cron.d/clamav-freshclam && \
chmod 644 /etc/clamav/freshclam.conf && \