Skip to content

Commit

Permalink
Upgrade clamav to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewford committed Sep 4, 2023
1 parent 476aae3 commit a965b04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ RUN set -eux; \
; \
rm -rf /var/lib/apt/lists/*; \
\
curl -L -o clamav.tar.gz https://www.clamav.net/downloads/production/clamav-0.104.2.tar.gz; \
curl -L -o clamav.tar.gz https://www.clamav.net/downloads/production/clamav-1.2.0.tar.gz; \
tar xzf clamav.tar.gz; \
cd clamav-0.104.2; \
cd clamav-1.2.0; \
mkdir build && cd build; \
cmake .. \
-D CMAKE_BUILD_TYPE="Release" \
Expand All @@ -42,7 +42,7 @@ RUN set -eux; \
-D ENABLE_STATIC_LIB=OFF \
; \
make DESTDIR="/clamav" --quiet -j$(($(nproc) - 1)) install; \
cd ../../ && rm -r clamav.tar.gz clamav-0.104.2; \
cd ../../ && rm -r clamav.tar.gz clamav-1.2.0; \
rm -rf "/clamav/usr/include" \
"/clamav/usr/lib/pkgconfig/" \
"/clamav/usr/share/doc" ; \
Expand Down

0 comments on commit a965b04

Please sign in to comment.