Dockerfile 473 B

123456789101112131415
  1. FROM docker.io/alpine:3.17.0
  2. ARG DOVECOT_PACKAGE_VERSION=2.3.19.1-r6
  3. ARG SOCAT_PACKAGE_VERSION=1.7.4.4-r0
  4. RUN apk add --no-cache \
  5. dovecot-lmtpd=$DOVECOT_PACKAGE_VERSION \
  6. dovecot-pigeonhole-plugin=$DOVECOT_PACKAGE_VERSION \
  7. dovecot-pop3d=$DOVECOT_PACKAGE_VERSION \
  8. dovecot=$DOVECOT_PACKAGE_VERSION \
  9. socat=$SOCAT_PACKAGE_VERSION \
  10. && find /etc/ssl/dovecot -type f -print -delete
  11. VOLUME /etc/ssl/dovecot
  12. CMD ["dovecot", "-F"]