Dockerfile 335 B

123456789101112
  1. FROM alpine:3.11
  2. ARG DOVECOT_PACKAGE_VERSION=2.3.9.3-r0
  3. RUN apk add --no-cache \
  4. dovecot-lmtpd=$DOVECOT_PACKAGE_VERSION \
  5. dovecot-pigeonhole-plugin=$DOVECOT_PACKAGE_VERSION \
  6. dovecot=$DOVECOT_PACKAGE_VERSION \
  7. && find /etc/ssl/dovecot -type f -print -delete
  8. VOLUME /etc/ssl/dovecot
  9. CMD ["dovecot", "-F"]