mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-27 09:10:58 +08:00
fix clamav build
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
064ea0f931
commit
d385d43af0
2 changed files with 6 additions and 6 deletions
|
@ -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
|
|
||||||
|
|
4
Containers/clamav/clamav.conf
Normal file
4
Containers/clamav/clamav.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
MaxDirectoryRecursion 30
|
||||||
|
MaxFileSize 100M
|
||||||
|
PCREMaxFileSize 100M
|
||||||
|
StreamMaxLength 100M
|
Loading…
Reference in a new issue