From 03c76110107b02cd316d4d2ae47ab9b9e86e83f7 Mon Sep 17 00:00:00 2001 From: Sven Slijkoord Date: Tue, 13 Feb 2018 19:18:22 +0100 Subject: [PATCH] Update Dockerfile-56 --- php-fpm/Dockerfile-56 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index 89cdb62..c046046 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -329,6 +329,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