add inotify

This commit is contained in:
Sebastian Hugentobler 2018-02-27 20:50:43 +01:00
parent 9f5d5c63eb
commit cff9032388

View File

@ -14,7 +14,8 @@ RUN apk --no-cache add \
bzip2-dev \ bzip2-dev \
xz-dev \ xz-dev \
lz4-dev \ lz4-dev \
icu-dev icu-dev \
inotify-tools-dev
RUN mkdir /tmp/dovecot 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 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 && \ RUN cd /tmp/dovecot && \
./configure --prefix '' \ ./configure --prefix '' \
--with-notify=inotify \
--with-lua \ --with-lua \
--with-zlib \ --with-zlib \
--with-bzlib \ --with-bzlib \
@ -71,7 +73,8 @@ RUN apk --no-cache add \
ssmtp \ ssmtp \
ca-certificates \ ca-certificates \
lua \ lua \
lua-ldap lua-ldap \
inotify-tools
RUN addgroup -g 150 dovecot RUN addgroup -g 150 dovecot
RUN adduser -u 140 -h /dev/null -H -s /sbin/nologin -D -G dovecot dovecot RUN adduser -u 140 -h /dev/null -H -s /sbin/nologin -D -G dovecot dovecot