docker-dovecot/Dockerfile
nemunaire de9687b5b7
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
Keep on 3.21 to not migrate to dovecot 2.4
2025-06-12 05:30:28 +00:00

11 lines
415 B
Docker

FROM alpine:3.21
RUN apk add --no-cache tini ca-certificates dovecot dovecot-ldap dovecot-lmtpd dovecot-pigeonhole-plugin dovecot-pop3d python3 ssmtp && \
addgroup -g 1000 mailuser0 && adduser -D -u 1000 -G mailuser0 mailuser0
ADD dovecot.conf /etc/dovecot/dovecot.conf
ADD ssmtp.conf /etc/ssmtp/ssmtp.conf
VOLUME ["/etc/dovecot", "/srv/mail"]
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/sbin/dovecot", "-F"]