fix clamav build

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-03-16 13:24:45 +01:00
parent 064ea0f931
commit d385d43af0
2 changed files with 6 additions and 6 deletions

View file

@ -1,9 +1,5 @@
# Probably from this file: https://github.com/Cisco-Talos/clamav/blob/main/Dockerfile # Probably from this file: https://github.com/Cisco-Talos/clamav/blob/main/Dockerfile
FROM clamav/clamav:0.104.2-2 FROM clamav/clamav:0.104.2-2
RUN echo -e '\n\ COPY clamav.conf /tmp/
MaxDirectoryRecursion 30\n\ RUN cat /tmp/clamav.conf >> /etc/clamav/clamd.conf
MaxFileSize 100M\n\
PCREMaxFileSize 100M\n\
StreamMaxLength 100M\
' >> /clamav/etc/clamav/clamd.conf

View file

@ -0,0 +1,4 @@
MaxDirectoryRecursion 30
MaxFileSize 100M
PCREMaxFileSize 100M
StreamMaxLength 100M