Add docker/clam/Dockerfile

This commit is contained in:
colin 2024-01-18 14:47:44 +00:00
commit 3c0d12b225
1 changed files with 9 additions and 0 deletions

9
docker/clam/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM alpine:latest
RUN apk add --no-cache clamav clamav-libunrar
RUN freshclam
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
VOLUME ["/scan"]
VOLUME ["/quarantine"]
VOLUME ["/var/log/clamav"]
ENTRYPOINT ["docker-entrypoint.sh"]