2023-10-05 16:26:51 +02:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
RUN apk --no-cache add dovecot dovecot-lmtpd dovecot-submissiond bash
|
|
|
|
|
|
|
|
# RUN wget https://github.com/dovecot/docker/blob/main/2.3.21/dovecot.gpg
|
|
|
|
# RUN cp dovecot.gpg /etc/apt/keyrings/dovecot.gpg
|
|
|
|
|
|
|
|
# RUN wget https://github.com/dovecot/docker/blob/main/2.3.21/dovecot.list
|
|
|
|
# RUN cp dovecot.list /etc/apt/sources.list.d
|
|
|
|
|
2023-10-10 17:32:29 +02:00
|
|
|
COPY password_file /etc/dovecot/secrets/dovecot_password_file
|
2023-10-05 16:26:51 +02:00
|
|
|
COPY dovecot.conf /etc/dovecot/dovecot.conf
|
|
|
|
|
|
|
|
EXPOSE 24
|
|
|
|
EXPOSE 143
|
|
|
|
EXPOSE 993
|
|
|
|
|
|
|
|
CMD [ "dovecot", "-F" ]
|