From fbc4b9cabb04a3510b530cc676a35b0c1acfc423 Mon Sep 17 00:00:00 2001 From: Zoey Date: Wed, 3 May 2023 16:27:52 +0200 Subject: [PATCH] optimize clamav Dockerfile Signed-off-by: Zoey --- Containers/clamav/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Containers/clamav/Dockerfile b/Containers/clamav/Dockerfile index f024c124..23e61b66 100644 --- a/Containers/clamav/Dockerfile +++ b/Containers/clamav/Dockerfile @@ -1,7 +1,8 @@ -# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/0.105/alpine/Dockerfile +# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.0/alpine/Dockerfile FROM clamav/clamav:1.1.0-1 -RUN apk add --no-cache tzdata -COPY clamav.conf /tmp/ -RUN cat /tmp/clamav.conf >> /etc/clamav/clamd.conf +COPY clamav.conf /tmp/clamav.conf + +RUN apk add --no-cache tzdata; \ + tee -a /etc/clamav/clamd.conf < /tmp/clamav.conf LABEL com.centurylinklabs.watchtower.monitor-only="true"