1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-22 03:39:05 +02:00
Mailu/optional/clamav/Dockerfile

23 lines
391 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
2021-11-04 14:22:12 +01:00
# clamav image
FROM base
2021-11-04 14:22:12 +01: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 --start-period=350s CMD echo PING|nc localhost 3310|grep "PONG"
VOLUME ["/data"]
2018-10-22 18:01:59 +03:00
CMD /start.py