FROM thallian/confd-env:latest RUN apk add --no-cache dovecot dovecot-ldap dovecot-pigeonhole-plugin RUN mkdir /etc/dovecot/sieve-after/ RUN addgroup vmail RUN adduser -h /var/lib/vmail -D -G vmail vmail EXPOSE 143 6334 7777 VOLUME /var/lib/vmail/mail/ /etc/ssl/mail ADD /rootfs /