Skip to content

Commit

Permalink
Merge pull request #1447 from alphagov/fix-clamav-dockerfile
Browse files Browse the repository at this point in the history
Remove explicit config to log to stdout for clamav
  • Loading branch information
theseanything authored Sep 16, 2024
2 parents ddca050 + e7a3d8d commit eef7189
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions images/clamav/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ FROM --platform=$TARGETPLATFORM clamav/clamav-debian:1.3

COPY "./images/clamav/scripts/unprivileged-entrypoint.sh" "/unpriv-init"

RUN sed -i 's/^LogFile .*/LogFile \/dev\/stdout/' /etc/clamav/clamd.conf && \
sed -i 's/^LogFile .*/LogFile \/dev\/stdout/' /etc/clamav/clamav-milter.conf && \
sed -i 's/^UpdateLogFile .*/UpdateLogFile \/dev\/stdout/' /etc/clamav/freshclam.conf

RUN chown -R clamav:clamav /var/lib/clamav /unpriv-init

USER clamav
Expand Down

0 comments on commit eef7189

Please sign in to comment.