dovecot/Dockerfile
Sebastian Hugentobler f51668581c update docker repo
2018-11-26 18:43:34 +01:00

26 lines
521 B
Docker

FROM thallian/confd-env:latest
RUN apk add --no-cache \
dovecot \
dovecot-ldap \
dovecot-pigeonhole-plugin \
dovecot-pigeonhole-plugin-ldap \
libressl \
ssmtp \
ca-certificates
RUN addgroup -g 2222 access
RUN addgroup dovecot access
RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
RUN mkdir /var/lib/vmail/sieve-after/
RUN chown vmail:vmail /var/lib/vmail/sieve-after/
EXPOSE 143 4190 6334 7777
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail
ADD /rootfs /