Dockerfile 422 B

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