optimize clamav Dockerfile

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2023-05-03 16:27:52 +02:00 committed by GitHub
parent 844382d220
commit fbc4b9cabb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"