1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/clamav/Dockerfile

20 lines
356 B
Docker
Raw Normal View History

2016-04-08 04:58:44 +02:00
#
# Dockerfile for clamav
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2016-04-08 04:58:44 +02:00
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"]