mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
20 lines
356 B
Docker
20 lines
356 B
Docker
#
|
|
# Dockerfile for clamav
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.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"]
|