Skip to content

Commit

Permalink
Updating ClamAV engine with offical version 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nsabri1 committed Nov 29, 2023
1 parent ff4ece7 commit f698311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ 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 && \
rm -fr /etc/clamav/* && \
mkdir -p /var/run/clamav && \
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 && \
mkdir -p /var/run/clamav /var/lib/clamav && \
chown app:app /var/run/clamav /var/lib/clamav

WORKDIR $APP_HOME
Expand Down
Binary file added clamav-1.2.1.linux.x86_64.deb
Binary file not shown.

0 comments on commit f698311

Please sign in to comment.