11 Commits

Author SHA1 Message Date
tobias d73188c3b9 Pin Alpine 3.23, single base for builder + runtime, add smoke test
- Both stages on alpine:3.23 (was python:3-alpine + alpine:latest).
  Major.minor pin gives security patches without breaking on rebase.
- fangfrisch installed in /opt/fangfrisch venv (PEP 668 blocks
  system pip on modern Alpine).
- Drop deprecated MAINTAINER instruction in favour of LABEL.
- test_smoke.sh: image present + version + sig count + EICAR.
  Validated end-to-end on amd64 Linux: ClamAV 1.4.4, 3.85M sigs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 14:15:05 +02:00
tobias 66ca4aa335 Switch from clamscan to clamd + clamdscan --multiscan
clamscan single-threaded scans were the LS26 bottleneck. Daemon mode
parallelises across MaxThreads=8 and only loads signatures once.

- Add clamav-daemon + clamav-clamdscan packages.
- start.sh::start_clamd waits up to 60s for /tmp/clamd.sock.
- New clamd.conf: MaxThreads 8, DetectPUA, AlertOLE2Macros,
  ExcludePath ^/data/(proc|sys|dev|run)/, log to /tmp/clamd.log.
- Drop final USER user so clamd can own its socket as clamav.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 14:09:25 +02:00
tabledevil ce44b9564e Added back freshclam privelege fix 2024-02-01 14:36:07 +01:00
tabledevil c4081cd5fd Move to staged build fangfish for signature updates 2024-02-01 13:47:32 +01:00
tabledevil e7fafb7802 optimzied package installation 2024-02-01 08:17:32 +01:00
TKE a6730669be Make freshclam runnable by low priv user 2021-01-12 15:18:20 +01:00
tke 44ac8c4813 Move Signature-Download to Freshclam 2020-12-28 15:45:00 +01:00
TKE cbf2d72b81 Add Clamav Signatures and comments 2020-12-17 12:09:41 +01:00
tabledevil 7bbe3c7575 added entrypoint script to container 2020-02-01 17:31:02 +01:00
schokostreuer 87f7bfa0e3 added clamav-dev for rar support 2020-01-31 23:47:00 +01:00
tke e6ba36266d renamed Dockerfile 2019-12-16 17:28:20 +01:00