mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 11:34:57 +01:00
add clamav
This commit is contained in:
19
clamav/Dockerfile
Normal file
19
clamav/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user