mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
-f option removed from rm commands
Let build fail, if file does not exist.
This commit is contained in:
parent
5d79e56bf0
commit
78fd5b8760
|
@ -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…
Reference in a new issue