Skip to content

Commit

Permalink
run freshclam on build
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Feb 27, 2025
1 parent 5cadc7b commit 64d805b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Containers/clamav/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ RUN apk upgrade --no-cache -a && \
sed -i "s|#\?MaxFileSize.*|MaxFileSize 2G|g" /etc/clamav/clamd.conf && \
sed -i "s|#\?PCREMaxFileSize.*|PCREMaxFileSize aio-placeholder|g" /etc/clamav/clamd.conf && \
sed -i "s|#\?StreamMaxLength.*|StreamMaxLength aio-placeholder|g" /etc/clamav/clamd.conf && \
sed -i "s|#\?TCPSocket|TCPSocket|g" /etc/clamav/clamd.conf
sed -i "s|#\?TCPSocket|TCPSocket|g" /etc/clamav/clamd.conf && \
freshclam --foreground --stdout

COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh
Expand Down

0 comments on commit 64d805b

Please sign in to comment.