diff --git a/Containers/clamav/Dockerfile b/Containers/clamav/Dockerfile index 80dac7d5..d96bc3f2 100644 --- a/Containers/clamav/Dockerfile +++ b/Containers/clamav/Dockerfile @@ -1,9 +1,5 @@ # Probably from this file: https://github.com/Cisco-Talos/clamav/blob/main/Dockerfile FROM clamav/clamav:0.104.2-2 -RUN echo -e '\n\ -MaxDirectoryRecursion 30\n\ -MaxFileSize 100M\n\ -PCREMaxFileSize 100M\n\ -StreamMaxLength 100M\ -' >> /clamav/etc/clamav/clamd.conf +COPY clamav.conf /tmp/ +RUN cat /tmp/clamav.conf >> /etc/clamav/clamd.conf diff --git a/Containers/clamav/clamav.conf b/Containers/clamav/clamav.conf new file mode 100644 index 00000000..1de35086 --- /dev/null +++ b/Containers/clamav/clamav.conf @@ -0,0 +1,4 @@ +MaxDirectoryRecursion 30 +MaxFileSize 100M +PCREMaxFileSize 100M +StreamMaxLength 100M