From 5ccca3a2493bd0e47fe89e5628cad58eabed5b39 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 16 Feb 2018 12:11:13 +0100 Subject: [PATCH] building process --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26669be..dfb3d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,14 +36,19 @@ RUN cd /tmp/dovecot && \ --with-lz4 \ --with-icu \ --without-shadow \ - --with-ssldir=/etc/ssl/dovecot \ + --with-ssldir=/etc/ssl/mail \ --with-rundir=/run/dovecot \ - --without-shared-libs && \ + --disable-static && \ make && \ make install RUN cd /tmp/pigeonhole && \ - ./configure --with-ldap=yes --with-dovecot=/lib/dovecot && \ + ./configure \ + --with-ldap=yes \ + --with-dovecot=/lib/dovecot \ + --with-ssldir=/etc/ssl/mail \ + --with-rundir=/run/dovecot \ + --disable-static && \ make && make install FROM registry.gitlab.com/thallian/docker-confd-env:master @@ -52,6 +57,7 @@ COPY --from=builder /lib/dovecot/ /lib/dovecot/ COPY --from=builder /libexec/dovecot/ /libexec/dovecot/ COPY --from=builder /bin/doveadm /bin/doveadm COPY --from=builder /bin/doveconf /bin/doveconf +COPY --from=builder /bin/dsync /bin/dsync COPY --from=builder /sbin/dovecot /sbin/dovecot COPY --from=builder /usr/local/bin/sieve* /bin/