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