From ab9f5aba6e2c9fe7d8a66d1e990ce7e7a4414104 Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Mon, 26 Feb 2018 21:27:56 +0800 Subject: [PATCH] Update Dockerfile-72 --- php-fpm/Dockerfile-72 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/php-fpm/Dockerfile-72 b/php-fpm/Dockerfile-72 index a569b663..ddde4092 100644 --- a/php-fpm/Dockerfile-72 +++ b/php-fpm/Dockerfile-72 @@ -363,6 +363,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 + ##################################### # Check PHP version: #####################################