From 78fd5b87604eece0c42373c26ebf258f1e91952f Mon Sep 17 00:00:00 2001 From: Casper Date: Sun, 19 Apr 2020 11:39:43 +0200 Subject: [PATCH] -f option removed from rm commands Let build fail, if file does not exist. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 524aa5ab..d3aa1db9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \