Adding variable for signature database checks per day

This commit is contained in:
ajila-fmeyer 2020-02-07 11:38:40 +01:00
parent 81beb69a5f
commit d10c4fd885
4 changed files with 6 additions and 3 deletions

View file

@ -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=24
RUN freshclam --quiet --no-dns
# Build go package
ADD . /go/src/clamav-rest/
@ -43,5 +43,6 @@ ENV MAX_PARTITIONS=50
ENV MAX_ICONSPE=100
ENV PCRE_MATCHLIMIT=100000
ENV PCRE_RECMATCHLIMIT=2000
ENV SIGNATURE_CHECKS=24
ENTRYPOINT [ "entrypoint.sh" ]