Dockerfile 674 B

12345678910111213141516171819
  1. FROM docker.io/alpine:3.20.1
  2. # https://dovecot.org/doc/NEWS
  3. # https://git.alpinelinux.org/aports/log/main/dovecot?h=3.19-stable
  4. ARG DOVECOT_PACKAGE_VERSION=2.3.21-r17
  5. # http://www.dest-unreach.org/socat/
  6. # https://git.alpinelinux.org/aports/log/main/socat?h=3.19-stable
  7. ARG SOCAT_PACKAGE_VERSION=1.8.0.0-r0
  8. RUN apk add --no-cache \
  9. dovecot-lmtpd=$DOVECOT_PACKAGE_VERSION \
  10. dovecot-pigeonhole-plugin=$DOVECOT_PACKAGE_VERSION \
  11. dovecot-pop3d=$DOVECOT_PACKAGE_VERSION \
  12. dovecot=$DOVECOT_PACKAGE_VERSION \
  13. socat=$SOCAT_PACKAGE_VERSION \
  14. && find /etc/ssl/dovecot -type f -print -delete
  15. VOLUME /etc/ssl/dovecot
  16. CMD ["dovecot", "-F"]