mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-06 05:51:49 +08:00
2be9c9ef10
Bumps clamav/clamav from 1.3.1-51 to 1.3.1-52. --- updated-dependencies: - dependency-name: clamav/clamav dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
20 lines
683 B
Docker
20 lines
683 B
Docker
# syntax=docker/dockerfile:latest
|
|
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.1/alpine/Dockerfile
|
|
FROM clamav/clamav:1.3.1-52
|
|
|
|
COPY clamav.conf /tmp/clamav.conf
|
|
|
|
RUN set -ex; \
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache tzdata; \
|
|
cat /tmp/clamav.conf >> /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"
|