Merge pull request #1401 from bestlong/php-fpm-install-imap
Update php-fpm/Dockerfile-72 add IMAP support
This commit is contained in:
commit
dc5474d31b
|
@ -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:
|
||||
#####################################
|
||||
|
|
Loading…
Reference in New Issue