Dockerfile 412 B

1234567891011121314
  1. FROM alpine:3.13.0
  2. ARG DOVECOT_PACKAGE_VERSION=2.3.13-r0
  3. ARG SOCAT_PACKAGE_VERSION=1.7.4.1-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"]