Fix install php ext SOAP No package php-soap available

This commit is contained in:
bestlong 2018-05-26 07:47:29 +08:00
parent 8158b6f50e
commit d1170f51c8

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 \