From cff9032388a54f1051fceb483cfeb82b299790ae Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 27 Feb 2018 20:50:43 +0100 Subject: [PATCH] add inotify --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 941d28f..fd574df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,8 @@ RUN apk --no-cache add \ bzip2-dev \ xz-dev \ lz4-dev \ - icu-dev + icu-dev \ + inotify-tools-dev RUN mkdir /tmp/dovecot RUN wget -qO- https://www.dovecot.org/releases/2.3/dovecot-2.3.0.tar.gz | tar -xz -C /tmp/dovecot --strip 2 @@ -24,6 +25,7 @@ RUN wget -qO- https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole RUN cd /tmp/dovecot && \ ./configure --prefix '' \ + --with-notify=inotify \ --with-lua \ --with-zlib \ --with-bzlib \ @@ -71,7 +73,8 @@ RUN apk --no-cache add \ ssmtp \ ca-certificates \ lua \ - lua-ldap + lua-ldap \ + inotify-tools RUN addgroup -g 150 dovecot RUN adduser -u 140 -h /dev/null -H -s /sbin/nologin -D -G dovecot dovecot