From 2ca9d3c5c679ee86b48e146054b43abeac53fff8 Mon Sep 17 00:00:00 2001 From: Sven Slijkoord Date: Tue, 13 Feb 2018 19:17:31 +0100 Subject: [PATCH] Update Dockerfile-71 --- php-fpm/Dockerfile-71 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/php-fpm/Dockerfile-71 b/php-fpm/Dockerfile-71 index 7e7fb9d0..75075905 100644 --- a/php-fpm/Dockerfile-71 +++ b/php-fpm/Dockerfile-71 @@ -360,6 +360,19 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ docker-php-ext-enable imagick \ ;fi +##################################### +# IMAP: +##################################### +ARG INSTALL_IMAP=false +ENV INSTALL_IMAP ${INSTALL_IMAP} +RUN if [ ${INSTALL_IMAP} = true ]; then \ + apt-get update && \ + apt-get install -y libc-client-dev libkrb5-dev && \ + rm -r /var/lib/apt/lists/* && \ + docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ + docker-php-ext-install imap \ +;fi + # #-------------------------------------------------------------------------- # Final Touch