19 lines
501 B
Docker
19 lines
501 B
Docker
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 \
|
|
dovecot-pgsql dovecot-lmtpd \
|
|
opendkim opendkim-utils \
|
|
&& 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 /
|
|
|
|
# pop3, dovecot-submission removed
|
|
EXPOSE 25 110 143 465 587 993 995
|
|
|
|
ENTRYPOINT ["/run.sh"] |