18 lines
512 B
Docker
18 lines
512 B
Docker
FROM registry.gitlab.com/thallian/docker-confd-env:master
|
|
|
|
RUN apk add --no-cache dovecot dovecot-ldap libressl ssmtp ca-certificates
|
|
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main \
|
|
dovecot-pigeonhole-plugin-ldap
|
|
|
|
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 /
|