FROM alpine:3.11 ARG DOVECOT_PACKAGE_VERSION=2.3.9.3-r0 RUN apk add --no-cache \ dovecot-lmtpd=$DOVECOT_PACKAGE_VERSION \ dovecot=$DOVECOT_PACKAGE_VERSION \ && find /etc/ssl/dovecot -type f -print -delete VOLUME /etc/ssl/dovecot CMD ["dovecot", "-F"]