Added SOAP option to php-fpm install.
This commit is contained in:
parent
9d60dad222
commit
da6b950623
@ -45,6 +45,7 @@ services:
|
|||||||
context: ./php-fpm
|
context: ./php-fpm
|
||||||
args:
|
args:
|
||||||
- INSTALL_XDEBUG=false
|
- INSTALL_XDEBUG=false
|
||||||
|
- INSTALL_SOAP=false
|
||||||
- INSTALL_MONGO=false
|
- INSTALL_MONGO=false
|
||||||
- INSTALL_ZIP_ARCHIVE=false
|
- INSTALL_ZIP_ARCHIVE=false
|
||||||
- INSTALL_MEMCACHED=false
|
- INSTALL_MEMCACHED=false
|
||||||
|
@ -36,6 +36,18 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
# - INSTALL_ZIP_ARCHIVE=true
|
# - INSTALL_ZIP_ARCHIVE=true
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# SOAP:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_SOAP=false
|
||||||
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
|
# Install the soap extension
|
||||||
|
apt-get -y update && \
|
||||||
|
apt-get -y install libxml2-dev && \
|
||||||
|
docker-php-ext-install soap && \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# xDebug:
|
# xDebug:
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -37,6 +37,18 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
# - ...
|
# - ...
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# SOAP:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_SOAP=false
|
||||||
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
|
# Install the soap extension
|
||||||
|
apt-get -y update && \
|
||||||
|
apt-get -y install libxml2-dev && \
|
||||||
|
docker-php-ext-install soap \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# xDebug:
|
# xDebug:
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user