Dockerfile 540 B

12345678910111213141516
  1. FROM docker.io/alpine:3.18.4
  2. # https://git.alpinelinux.org/aports/log/main/dovecot?h=3.18-stable
  3. ARG DOVECOT_PACKAGE_VERSION=2.3.20-r11
  4. ARG SOCAT_PACKAGE_VERSION=1.7.4.4-r1
  5. RUN apk add --no-cache \
  6. dovecot-lmtpd=$DOVECOT_PACKAGE_VERSION \
  7. dovecot-pigeonhole-plugin=$DOVECOT_PACKAGE_VERSION \
  8. dovecot-pop3d=$DOVECOT_PACKAGE_VERSION \
  9. dovecot=$DOVECOT_PACKAGE_VERSION \
  10. socat=$SOCAT_PACKAGE_VERSION \
  11. && find /etc/ssl/dovecot -type f -print -delete
  12. VOLUME /etc/ssl/dovecot
  13. CMD ["dovecot", "-F"]