Merge pull request #1566 from bestlong/fix-php-fpm-ext-soap

Fix install php ext SOAP No package php-soap available
This commit is contained in:
Shao Yu-Lung (Allen) 2018-05-26 07:59:33 +08:00 committed by GitHub
commit 07410e80cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ ARG INSTALL_SOAP=false
RUN if [ ${INSTALL_SOAP} = true ]; then \ RUN if [ ${INSTALL_SOAP} = true ]; then \
# Install the soap extension # Install the soap extension
rm /etc/apt/preferences.d/no-debian-php && \
apt-get update -yqq && \ apt-get update -yqq && \
apt-get -y install libxml2-dev php-soap && \ apt-get -y install libxml2-dev php-soap && \
docker-php-ext-install soap \ docker-php-ext-install soap \