Merge pull request #1377 from SvenSlijkoord/php-fpm-install-imap
Added IMAP installation to PHP-FPM container
This commit is contained in:
commit
2a2d78e249
|
@ -74,6 +74,7 @@ services:
|
||||||
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
||||||
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
|
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
|
||||||
- INSTALL_SOAP=${PHP_FPM_INSTALL_SOAP}
|
- INSTALL_SOAP=${PHP_FPM_INSTALL_SOAP}
|
||||||
|
- INSTALL_IMAP=${PHP_FPM_INSTALL_IMAP}
|
||||||
- INSTALL_MONGO=${PHP_FPM_INSTALL_MONGO}
|
- INSTALL_MONGO=${PHP_FPM_INSTALL_MONGO}
|
||||||
- INSTALL_AMQP=${PHP_FPM_INSTALL_AMQP}
|
- INSTALL_AMQP=${PHP_FPM_INSTALL_AMQP}
|
||||||
- INSTALL_MSSQL=${PHP_FPM_INSTALL_MSSQL}
|
- INSTALL_MSSQL=${PHP_FPM_INSTALL_MSSQL}
|
||||||
|
|
|
@ -100,6 +100,7 @@ WORKSPACE_SSH_PORT=2222
|
||||||
### PHP_FPM ############################################################################################################
|
### PHP_FPM ############################################################################################################
|
||||||
|
|
||||||
PHP_FPM_INSTALL_XDEBUG=false
|
PHP_FPM_INSTALL_XDEBUG=false
|
||||||
|
PHP_FPM_INSTALL_IMAP=false
|
||||||
PHP_FPM_INSTALL_MONGO=false
|
PHP_FPM_INSTALL_MONGO=false
|
||||||
PHP_FPM_INSTALL_AMQP=false
|
PHP_FPM_INSTALL_AMQP=false
|
||||||
PHP_FPM_INSTALL_MSSQL=false
|
PHP_FPM_INSTALL_MSSQL=false
|
||||||
|
|
|
@ -330,6 +330,19 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||||
docker-php-ext-enable imagick \
|
docker-php-ext-enable imagick \
|
||||||
;fi
|
;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:
|
# Check PHP version:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
|
@ -351,6 +351,19 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||||
docker-php-ext-enable imagick \
|
docker-php-ext-enable imagick \
|
||||||
;fi
|
;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:
|
# Check PHP version:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
|
@ -357,6 +357,19 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||||
docker-php-ext-enable imagick \
|
docker-php-ext-enable imagick \
|
||||||
;fi
|
;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:
|
# Check PHP version:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
Loading…
Reference in New Issue