1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-05 14:55:20 +02:00
Mailu/optional/fetchmail/Dockerfile

22 lines
389 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
# fetchmail 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 fetchmail openssl \
; mkdir -p /data
COPY fetchmail.py /
2016-04-28 20:07:38 +02:00
RUN echo $VERSION >/version
2021-11-09 14:10:04 +00:00
HEALTHCHECK --start-period=350s CMD ["/bin/sh", "-c", "ps ax | grep [/]fetchmail.py"]
VOLUME ["/var/lib/rspamd"]
CMD ["/fetchmail.py"]