fix: add ext-soap to Dockerfile and composer.json to resolve SoapClient not found error in production
This commit is contained in:
+2
-2
@@ -63,8 +63,8 @@ RUN set -eu; \
|
||||
export MAKEFLAGS="-j$(nproc)"; \
|
||||
retry() { for i in 1 2 3 4 5; do "$@" && return 0; echo "retry $i: $*"; sleep 5; done; return 1; }; \
|
||||
retry apk add --no-cache nginx supervisor icu-libs \
|
||||
&& retry apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev \
|
||||
&& docker-php-ext-install pdo_mysql intl opcache \
|
||||
&& retry apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev libxml2-dev \
|
||||
&& docker-php-ext-install pdo_mysql intl opcache soap \
|
||||
&& retry curl -sSLf "https://github.com/phpredis/phpredis/archive/refs/tags/${PHPREDIS_VERSION}.tar.gz" -o /tmp/phpredis.tar.gz \
|
||||
&& mkdir -p /usr/src/php/ext/redis \
|
||||
&& tar -xf /tmp/phpredis.tar.gz -C /usr/src/php/ext/redis --strip-components=1 \
|
||||
|
||||
Reference in New Issue
Block a user