mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-14 19:15:08 +08:00
68d95af47d
Signed-off-by: Simon L <szaimen@e.mail.de>
18 lines
621 B
Docker
18 lines
621 B
Docker
# 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
|
|
|
|
COPY clamav.conf /tmp/clamav.conf
|
|
|
|
RUN set -ex; \
|
|
apk add --no-cache tzdata; \
|
|
cat /tmp/clamav.conf | tee -a /etc/clamav/clamd.conf; \
|
|
rm /tmp/clamav.conf; \
|
|
mkdir -p /var/run/clamav /run/lock; \
|
|
chown -R clamav:clamav /var/run/clamav /run/clamav /var/log/clamav /var/lock /run/lock; \
|
|
chmod 777 -R /var/run/clamav /run/clamav /var/log/clamav /var/lock /run/lock /tmp
|
|
|
|
VOLUME /var/lib/clamav
|
|
|
|
USER clamav
|
|
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|