Cisco-Talos / clamav-docker

Dockerfiles for the ClamAV project
35 stars 20 forks source link

Alpine: 0.105, 1.0, unstable - restore shared libs #15

Closed micahsnyder closed 1 year ago

micahsnyder commented 1 year ago

The 0.105.1, 1.0.0, and unstable images do not have clamav shared libs. The story is:

Now 3.17 is out and we can use the Alpine rust/cargo packages instead, meaning we can go back to shared libs. Also, with improvements coming in 0.105.2 and 1.0.0 we should catch any panics from Rust code so it doesn't crash clam, meaning we're more comfortable pinning the dependency versions by checking in Cargo.lock here.

This commit pins the Rust dependencies by adding Cargo.lock files.

This commit reverts to using Alpine packages for the dependencies and does away with the Mussels builds.

This commit reverts to building clam shared libs instead of static.

Resolves: https://github.com/Cisco-Talos/clamav-docker/issues/7 Resolves: https://github.com/Cisco-Talos/clamav/issues/802