docker-deploy/mail/Dockerfile

19 lines
501 B
Docker
Raw Normal View History

2021-12-17 03:33:54 +08:00
FROM alpine:3.15
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
&& apk add \
postfix postfix-pgsql \
2021-12-21 03:14:57 +08:00
dovecot-pgsql dovecot-lmtpd \
2021-12-17 03:33:54 +08:00
opendkim opendkim-utils \
2021-12-21 03:14:57 +08:00
&& rm -rf /var/cache/apk/*
#COPY ./conf/postfix /etc/postfix
#COPY ./conf/dovecot /etc/dovecot
#COPY ./conf/opendkim /etc/opendkim
#COPY ./conf/clamav /etc/clamav
COPY ./run.sh /
2021-12-17 03:33:54 +08:00
2021-12-21 03:14:57 +08:00
# pop3, dovecot-submission removed
EXPOSE 25 110 143 465 587 993 995
2021-12-17 03:33:54 +08:00
ENTRYPOINT ["/run.sh"]