mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #2492 from nextcloud/clamav-dockerfile
optimize clamav Dockerfile
This commit is contained in:
commit
741d99d401
1 changed files with 7 additions and 4 deletions
|
|
@ -1,7 +1,10 @@
|
||||||
# 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.1/alpine/Dockerfile
|
||||||
FROM clamav/clamav:1.1.0-1
|
FROM clamav/clamav:1.1.0-1
|
||||||
|
|
||||||
RUN apk add --no-cache tzdata
|
COPY clamav.conf /tmp/clamav.conf
|
||||||
COPY clamav.conf /tmp/
|
|
||||||
RUN cat /tmp/clamav.conf >> /etc/clamav/clamd.conf
|
RUN set -ex; \
|
||||||
|
apk add --no-cache tzdata; \
|
||||||
|
cat /tmp/clamav.conf | tee -a /etc/clamav/clamd.conf; \
|
||||||
|
rm /tmp/clamav.conf
|
||||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue