Cisco-Talos / clamav

ClamAV - Documentation is here: https://docs.clamav.net
https://www.clamav.net/
GNU General Public License v2.0
4.34k stars 699 forks source link

Newer Docker Images are eight times larger and perform way worse #802

Closed hebelal closed 1 year ago

hebelal commented 1 year ago

Hi,

We use the clamav docker image in version 0.105.1_base. Recently we noticed that the performance of our scans got way worse (takes twice as long) with one of the latest updates. We also noticed that the docker image size increased from 11,76MB to 72,92MB with 0.105.1-3_base to 0.105.1-4_base. Could it be that the slow performance and big image size are connected to each other (maybe the debug build mistakenly got shipped) ? I already posted an issue in the clamav-docker repo, but it does not seem to get picked up.

Best regards, Alex

teoberi commented 1 year ago

https://github.com/Cisco-Talos/clamav/issues/590

JonBendtsen commented 1 year ago

Could it perhaps be because the debian/Jenkinsfile copied the alpine/Dockerfile and not the debian/Dockerfile ?

Perhaps see this pull-request https://github.com/Cisco-Talos/clamav-docker/pull/11

micahsnyder commented 1 year ago

Just merged the PR that should restore the performance back to the was it was in the 0.105.1-1 image. We will push updated images for 0.105.1, 1.0.0, and unstable shortly.