added IMAP extension to workspace
This commit is contained in:
parent
4e486280f4
commit
23ee4f6679
@ -19,6 +19,7 @@ services:
|
|||||||
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
|
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
|
||||||
- INSTALL_SOAP=${WORKSPACE_INSTALL_SOAP}
|
- INSTALL_SOAP=${WORKSPACE_INSTALL_SOAP}
|
||||||
- INSTALL_LDAP=${WORKSPACE_INSTALL_LDAP}
|
- INSTALL_LDAP=${WORKSPACE_INSTALL_LDAP}
|
||||||
|
- INSTALL_IMAP=${WORKSPACE_INSTALL_IMAP}
|
||||||
- INSTALL_MONGO=${WORKSPACE_INSTALL_MONGO}
|
- INSTALL_MONGO=${WORKSPACE_INSTALL_MONGO}
|
||||||
- INSTALL_PHPREDIS=${WORKSPACE_INSTALL_PHPREDIS}
|
- INSTALL_PHPREDIS=${WORKSPACE_INSTALL_PHPREDIS}
|
||||||
- INSTALL_MSSQL=${WORKSPACE_INSTALL_MSSQL}
|
- INSTALL_MSSQL=${WORKSPACE_INSTALL_MSSQL}
|
||||||
|
@ -32,6 +32,7 @@ PHP_INTERPRETER=php-fpm
|
|||||||
WORKSPACE_INSTALL_XDEBUG=false
|
WORKSPACE_INSTALL_XDEBUG=false
|
||||||
WORKSPACE_INSTALL_LDAP=false
|
WORKSPACE_INSTALL_LDAP=false
|
||||||
WORKSPACE_INSTALL_SOAP=false
|
WORKSPACE_INSTALL_SOAP=false
|
||||||
|
WORKSPACE_INSTALL_IMAP=false
|
||||||
WORKSPACE_INSTALL_MONGO=false
|
WORKSPACE_INSTALL_MONGO=false
|
||||||
WORKSPACE_INSTALL_PHPREDIS=false
|
WORKSPACE_INSTALL_PHPREDIS=false
|
||||||
WORKSPACE_INSTALL_MSSQL=false
|
WORKSPACE_INSTALL_MSSQL=false
|
||||||
|
@ -69,6 +69,21 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \
|
|||||||
apt-get -y install libxml2-dev php5.6-soap \
|
apt-get -y install libxml2-dev php5.6-soap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# IMAP:
|
||||||
|
#####################################
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_IMAP=false
|
||||||
|
ENV INSTALL_IMAP ${INSTALL_IMAP}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_IMAP} = true ]; then \
|
||||||
|
# Install the PHP IMAP extension
|
||||||
|
add-apt-repository -y ppa:ondrej/php && \
|
||||||
|
apt-get update -yqq && \
|
||||||
|
apt-get -y install php5.6-imap \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -82,6 +82,18 @@ RUN if [ ${INSTALL_LDAP} = true ]; then \
|
|||||||
apt-get install -y php7.0-ldap \
|
apt-get install -y php7.0-ldap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# IMAP:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_IMAP=false
|
||||||
|
ENV INSTALL_IMAP ${INSTALL_IMAP}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_IMAP} = true ]; then \
|
||||||
|
apt-get update -yqq && \
|
||||||
|
apt-get install -y php7.0-imap \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -82,6 +82,18 @@ RUN if [ ${INSTALL_LDAP} = true ]; then \
|
|||||||
apt-get install -y php7.1-ldap \
|
apt-get install -y php7.1-ldap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# IMAP:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_IMAP=false
|
||||||
|
ENV INSTALL_IMAP ${INSTALL_IMAP}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_IMAP} = true ]; then \
|
||||||
|
apt-get update -yqq && \
|
||||||
|
apt-get install -y php7.1-imap \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user