pigeonhole plugin with ldap support

This commit is contained in:
Sebastian Hugentobler 2016-08-24 13:16:41 +02:00
parent ea17d13960
commit b1edbc1ca5
No known key found for this signature in database
GPG Key ID: 7BBE74D3F626FC0F

View File

@ -1,6 +1,6 @@
FROM thallian/confd-env:latest
RUN apk add --no-cache dovecot dovecot-ldap ssmtp g++ openldap-dev dovecot-dev make
RUN apk add --no-cache dovecot dovecot-ldap ssmtp g++ openldap-dev dovecot-dev make tar
RUN mkdir /tmp/pigeonhole
RUN wget -qO- http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.15.tar.gz | tar -xz -C /tmp/pigeonhole --strip 1
@ -8,7 +8,7 @@ WORKDIR /tmp/pigeonhole
RUN ./configure --with-ldap=yes --with-dovecot=/usr/lib/dovecot
RUN make && make install
RUN apk del g++ openldap-dev dovecot-dev make
RUN apk del g++ openldap-dev dovecot-dev make tar
RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail