diff --git a/data/Dockerfiles/clamd/bootstrap.sh b/data/Dockerfiles/clamd/bootstrap.sh index 4795ee133..201536597 100755 --- a/data/Dockerfiles/clamd/bootstrap.sh +++ b/data/Dockerfiles/clamd/bootstrap.sh @@ -6,6 +6,10 @@ if [[ "${SKIP_CLAMD}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then exit 0 fi +# Cleaning up garbage +echo "Cleaning up tmp files..." +rm -rf /var/lib/clamav/clamav-*.tmp + # Prepare whitelist mkdir -p /run/clamav /var/lib/clamav diff --git a/docker-compose.yml b/docker-compose.yml index a1f1e4a8f..46944f56c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,7 +52,7 @@ services: - redis clamd-mailcow: - image: mailcow/clamd:1.28 + image: mailcow/clamd:1.29 build: ./data/Dockerfiles/clamd restart: always dns: