You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/optional/fetchmail/Dockerfile

22 lines
389 B
Docker

# syntax=docker/dockerfile-upstream:1.4.3
# fetchmail image
FROM base
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache fetchmail openssl \
; mkdir -p /data
COPY fetchmail.py /
RUN echo $VERSION >/version
HEALTHCHECK --start-period=350s CMD ["/bin/sh", "-c", "ps ax | grep [/]fetchmail.py"]
VOLUME ["/var/lib/rspamd"]
CMD ["/fetchmail.py"]