1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/optional/clamav/Dockerfile

23 lines
397 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
2021-11-04 15:22:12 +02:00
# clamav image
FROM base
2021-11-04 15:22:12 +02:00
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache clamav clamav-libunrar rsyslog wget
COPY conf/ /etc/clamav/
COPY start.py /
RUN echo $VERSION >/version
#EXPOSE 3310/tcp
HEALTHCHECK CMD kill -0 `cat /run/clamd.pid` && kill -0 `cat /run/freshclam.pid`
VOLUME ["/data"]
2018-10-22 17:01:59 +02:00
CMD /start.py