From 7c2bca70021c1d75795898723228b75ed2b3f776 Mon Sep 17 00:00:00 2001 From: nadeem Date: Mon, 27 Nov 2023 07:20:20 +0000 Subject: [PATCH] Updating ClamAV engine with offical version 1.2.1 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 16a3fd85..00f0845a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,9 @@ FROM $base_image ENV GOVUK_APP_NAME=asset-manager # TODO: move ClamAV into a completely separate service. -RUN install_packages clamav clamav-daemon clamdscan shared-mime-info && \ +RUN install_packages wget shared-mime-info && \ + wget https://www.clamav.net/downloads/production/clamav-1.2.1.linux.x86_64.deb && \ + apt install ./clamav-1.2.1.linux.x86_64.deb && \ rm -fr /etc/clamav/* && \ mkdir -p /var/run/clamav && \ chown app:app /var/run/clamav /var/lib/clamav