Skip to content

Commit da6b950

Browse files
author
Austin Benesh
committed
Added SOAP option to php-fpm install.
1 parent 9d60dad commit da6b950

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ services:
4545
context: ./php-fpm
4646
args:
4747
- INSTALL_XDEBUG=false
48+
- INSTALL_SOAP=false
4849
- INSTALL_MONGO=false
4950
- INSTALL_ZIP_ARCHIVE=false
5051
- INSTALL_MEMCACHED=false

php-fpm/Dockerfile-56

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
3636
# - INSTALL_ZIP_ARCHIVE=true
3737
#
3838

39+
#####################################
40+
# SOAP:
41+
#####################################
42+
43+
ARG INSTALL_SOAP=false
44+
RUN if [ ${INSTALL_SOAP} = true ]; then \
45+
# Install the soap extension
46+
apt-get -y update && \
47+
apt-get -y install libxml2-dev && \
48+
docker-php-ext-install soap && \
49+
;fi
50+
3951
#####################################
4052
# xDebug:
4153
#####################################

php-fpm/Dockerfile-70

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
3737
# - ...
3838
#
3939

40+
#####################################
41+
# SOAP:
42+
#####################################
43+
44+
ARG INSTALL_SOAP=false
45+
RUN if [ ${INSTALL_SOAP} = true ]; then \
46+
# Install the soap extension
47+
apt-get -y update && \
48+
apt-get -y install libxml2-dev && \
49+
docker-php-ext-install soap \
50+
;fi
51+
4052
#####################################
4153
# xDebug:
4254
#####################################

0 commit comments

Comments
 (0)