docker-dovecot/Dockerfile
Pierre-Olivier Mercier ae2e9e6099
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
Add ssmtp to handle redirect
2024-03-29 09:18:58 +01:00

10 lines
331 B
Docker

FROM alpine:3
RUN apk add --no-cache tini ca-certificates dovecot dovecot-ldap dovecot-lmtpd dovecot-pigeonhole-plugin dovecot-pop3d python3 ssmtp
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"]