Dockerfile 473 B

123456789101112131415
  1. FROM docker.io/alpine:3.16.2
  2. ARG DOVECOT_PACKAGE_VERSION=2.3.19.1-r0
  3. ARG SOCAT_PACKAGE_VERSION=1.7.4.3-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"]