add lua ldap

This commit is contained in:
Sebastian Hugentobler 2018-02-16 08:39:00 +01:00
parent 11d41bcc5b
commit be4f173427

View File

@ -23,7 +23,22 @@ RUN mkdir /tmp/pigeonhole
RUN wget -qO- https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.0.1.tar.gz | tar -xz -C /tmp/pigeonhole --strip 1 RUN wget -qO- https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.0.1.tar.gz | tar -xz -C /tmp/pigeonhole --strip 1
RUN cd /tmp/dovecot && \ RUN cd /tmp/dovecot && \
./configure --prefix '' --with-lua --with-zlib --with-bzlib --with-pam --with-ssl=openssl --with-sodium --without-sql --with-ldap --with-lzma --with-lz4 --with-icu --without-shadow --with-ssldir=/etc/ssl/dovecot --with-rundir=/run/dovecot --without-shared-libs && \ ./configure --prefix '' \
--with-lua \
--with-zlib \
--with-bzlib \
--with-pam \
--with-ssl=openssl \
--with-sodium \
--without-sql \
--with-ldap \
--with-lzma \
--with-lz4 \
--with-icu \
--without-shadow \
--with-ssldir=/etc/ssl/dovecot \
--with-rundir=/run/dovecot \
--without-shared-libs && \
make && \ make && \
make install make install
@ -48,7 +63,8 @@ RUN apk --no-cache add \
libressl2.6-libcrypto \ libressl2.6-libcrypto \
ssmtp \ ssmtp \
ca-certificates \ ca-certificates \
lua lua \
lua-ldap
RUN addgroup -g 2222 dovecot RUN addgroup -g 2222 dovecot
RUN adduser -u 2222 -h /home/dovecot -D -G dovecot dovecot RUN adduser -u 2222 -h /home/dovecot -D -G dovecot dovecot