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

26 lines
683 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
# dovecot image
FROM base
2021-11-04 15:22:12 +02:00
ARG VERSION
LABEL version=$VERSION
RUN set -euxo pipefail \
2023-10-11 14:37:27 +02:00
; apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main 'dovecot<2.4' dovecot-lmtpd dovecot-pigeonhole-plugin dovecot-pop3d dovecot-submissiond \
; apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing dovecot-fts-flatcurve \
; apk add --no-cache rspamd-client \
; mkdir /var/lib/dovecot
COPY conf/ /conf/
COPY start.py /
RUN echo $VERSION >/version
2023-06-05 08:47:22 +02:00
# EXPOSE 110/tcp 143/tcp 993/tcp 4190/tcp 2525/tcp
2023-04-21 17:27:59 +02:00
HEALTHCHECK CMD kill -0 `cat /run/dovecot/master.pid`
2019-10-14 15:45:06 +02:00
VOLUME ["/mail"]
CMD /start.py