You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-10 22:31:28 +02: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