1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-10 22:31:28 +02:00

add clamav

This commit is contained in:
kev
2016-04-08 10:58:44 +08:00
parent 31eb2aded9
commit d2a63f756d
3 changed files with 52 additions and 0 deletions

19
clamav/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
#
# Dockerfile for clamav
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN set -xe \
&& apk add -U clamav clamav-libunrar \
&& cd /etc/clamav/ \
&& mv clamd.conf.sample clamd.conf \
&& mv freshclam.conf.sample freshclam.conf \
&& freshclam \
&& rm -rf /var/cache/apk/*
WORKDIR /data
ENTRYPOINT ["clamscan"]
CMD ["--help"]