1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/clamav/Dockerfile

20 lines
358 B
Docker
Raw Normal View History

2016-04-08 02:58:44 +00:00
#
# 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"]