mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-14 23:12:51 +02:00
-f option removed from rm commands
Let build fail, if file does not exist.
This commit is contained in:
parent
5d79e56bf0
commit
78fd5b8760
1 changed files with 2 additions and 2 deletions
|
@ -111,8 +111,8 @@ RUN \
|
||||||
rm -rf /usr/share/doc/* && \
|
rm -rf /usr/share/doc/* && \
|
||||||
touch /var/log/auth.log && \
|
touch /var/log/auth.log && \
|
||||||
update-locale && \
|
update-locale && \
|
||||||
rm -f /etc/postsrsd.secret && \
|
rm /etc/postsrsd.secret && \
|
||||||
rm -f /etc/cron.daily/00logwatch
|
rm /etc/cron.daily/00logwatch
|
||||||
|
|
||||||
RUN echo "0 */6 * * * clamav /usr/bin/freshclam --quiet" > /etc/cron.d/clamav-freshclam && \
|
RUN echo "0 */6 * * * clamav /usr/bin/freshclam --quiet" > /etc/cron.d/clamav-freshclam && \
|
||||||
chmod 644 /etc/clamav/freshclam.conf && \
|
chmod 644 /etc/clamav/freshclam.conf && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue