Update database check to 24 times a day
This commit is contained in:
parent
2a15d51703
commit
81beb69a5f
2 changed files with 16 additions and 2 deletions
|
@ -17,7 +17,7 @@ RUN sed -i 's/^#Foreground .*$/Foreground true/g' /etc/clamav/clamd.conf \
|
|||
&& sed -i 's/^#TCPSocket .*$/TCPSocket 3310/g' /etc/clamav/clamd.conf \
|
||||
&& sed -i 's/^#Foreground .*$/Foreground true/g' /etc/clamav/freshclam.conf
|
||||
|
||||
RUN freshclam --quiet --no-dns --checks=2
|
||||
RUN freshclam --quiet --no-dns --checks=24
|
||||
|
||||
# Build go package
|
||||
ADD . /go/src/clamav-rest/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue