clamd: cleanup dockerfile

This commit is contained in:
DerLinkman 2025-01-28 14:49:11 +01:00
parent 65bc581fab
commit 1a087bb2c8
No known key found for this signature in database
GPG Key ID: AA4A82514748F5A9

View File

@ -27,11 +27,9 @@ RUN apk upgrade --no-cache \
cargo \ cargo \
rust rust
RUN mkdir -p /src \ RUN wget -P /src https://www.clamav.net/downloads/production/clamav-${CLAMD_VERSION}.tar.gz \
&& wget -P /src https://www.clamav.net/downloads/production/clamav-${CLAMD_VERSION}.tar.gz \
&& tar xzfv /src/clamav-${CLAMD_VERSION}.tar.gz \ && tar xzfv /src/clamav-${CLAMD_VERSION}.tar.gz \
&& cd /src/clamav-${CLAMD_VERSION} \ && cd /src/clamav-${CLAMD_VERSION} \
&& mkdir build \
&& cmake . \ && cmake . \
-D CMAKE_BUILD_TYPE="Release" \ -D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_INSTALL_PREFIX="/usr" \ -D CMAKE_INSTALL_PREFIX="/usr" \