dovecot/Dockerfile

26 lines
521 B
Docker
Raw Normal View History

2018-11-26 17:43:34 +00:00
FROM thallian/confd-env:latest
2016-07-06 08:58:48 +00:00
2018-06-07 09:51:19 +00:00
RUN apk add --no-cache \
dovecot \
dovecot-ldap \
dovecot-pigeonhole-plugin \
dovecot-pigeonhole-plugin-ldap \
libressl \
ssmtp \
ca-certificates
2016-07-06 08:58:48 +00:00
2017-09-25 09:15:10 +00:00
RUN addgroup -g 2222 access
RUN addgroup dovecot access
2016-07-14 07:59:48 +00:00
RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
2016-07-06 08:58:48 +00:00
2016-07-14 07:59:48 +00:00
RUN mkdir /var/lib/vmail/sieve-after/
RUN chown vmail:vmail /var/lib/vmail/sieve-after/
2016-07-06 08:58:48 +00:00
2017-06-13 11:59:39 +00:00
EXPOSE 143 4190 6334 7777
2016-07-06 08:58:48 +00:00
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail
ADD /rootfs /