From be4f1734275add19f92836fd9f2889a2bf85ec17 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 16 Feb 2018 08:39:00 +0100 Subject: [PATCH] add lua ldap --- Dockerfile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bba696d..4cdf890 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 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 install @@ -48,7 +63,8 @@ RUN apk --no-cache add \ libressl2.6-libcrypto \ ssmtp \ ca-certificates \ - lua + lua \ + lua-ldap RUN addgroup -g 2222 dovecot RUN adduser -u 2222 -h /home/dovecot -D -G dovecot dovecot