diff --git a/data/Dockerfiles/dovecot/Dockerfile b/data/Dockerfiles/dovecot/Dockerfile index 8f93055a..bf68a0c6 100644 --- a/data/Dockerfiles/dovecot/Dockerfile +++ b/data/Dockerfiles/dovecot/Dockerfile @@ -3,7 +3,7 @@ LABEL maintainer "Andre Peters " ARG DEBIAN_FRONTEND=noninteractive ENV LC_ALL C -ENV DOVECOT_VERSION 2.3.2 +ENV DOVECOT_VERSION 2.3.2.1 ENV PIGEONHOLE_VERSION 0.5.2 RUN apt-get update && apt-get -y --no-install-recommends install \ @@ -65,7 +65,6 @@ RUN apt-get update && apt-get -y --no-install-recommends install \ syslog-ng-mod-redis \ && rm -rf /var/lib/apt/lists/* - RUN curl https://www.dovecot.org/releases/2.3/dovecot-$DOVECOT_VERSION.tar.gz | tar xvz \ && cd dovecot-$DOVECOT_VERSION \ && ./configure --with-solr --with-mysql --with-lzma --with-lz4 --with-ssl=openssl --with-notify=inotify --with-storages=mdbox,sdbox,maildir,mbox,imapc,pop3c --with-bzlib --with-zlib \ @@ -111,7 +110,7 @@ RUN groupadd -g 5000 vmail \ && useradd -c "Dovecot login user" -d /dev/null -u 402 -g dovenull -s /bin/false dovenull RUN touch /etc/default/locale -RUN apt-get purge -y build-essential automake autotools-dev \ +RUN apt-get purge -y build-essential automake autotools-dev default-libmysqlclient-dev libbz2-dev libcurl4-openssl-dev libexpat1-dev liblz-dev liblz4-dev liblzma-dev libpam-dev libssl-dev lzma-dev \ && apt-get autoremove --purge -y ENTRYPOINT ["/docker-entrypoint.sh"]