23 lines
378 B
Docker
23 lines
378 B
Docker
# NAME leenooks/clamav
|
|
# VERSION latest
|
|
|
|
FROM registry.leenooks.net/leenooks/base:7.E
|
|
|
|
# EPEL & Leenooks packages
|
|
RUN yum -y install \
|
|
clamav-milter \
|
|
clamav-server \
|
|
clamav-update \
|
|
&& yum clean all
|
|
|
|
EXPOSE 3310 3311
|
|
|
|
COPY init /sbin/
|
|
COPY freshclam.conf /etc
|
|
|
|
LABEL cron.daily root:/usr/share/clamav/freshclam-sleep
|
|
|
|
# Starting
|
|
ENTRYPOINT [ "/sbin/init" ]
|
|
CMD [ "start" ]
|