From 369a5040d432a6f189435cdf380dcc3adf2e82e6 Mon Sep 17 00:00:00 2001 From: kideny Date: Tue, 27 Sep 2022 09:19:13 +0800 Subject: [PATCH] fixed --- php-fpm/Dockerfile | 1 + php-worker/Dockerfile | 1 + workspace/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 3ed7df58..182d382c 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -852,6 +852,7 @@ ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION} RUN if [ $INSTALL_PHALCON = true ]; then \ apt-get install libpcre3-dev; \ + && pecl channel-update pecl.php.net; \ && echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ && mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \ && echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ diff --git a/php-worker/Dockerfile b/php-worker/Dockerfile index 00ee062d..09a2c9e3 100644 --- a/php-worker/Dockerfile +++ b/php-worker/Dockerfile @@ -315,6 +315,7 @@ ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION} RUN if [ $INSTALL_PHALCON = true ]; then \ apt-get install libpcre3-dev; \ + && pecl channel-update pecl.php.net; \ && echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ && mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \ && echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ diff --git a/workspace/Dockerfile b/workspace/Dockerfile index e64dc7c9..043acace 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1323,6 +1323,7 @@ ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION} RUN if [ $INSTALL_PHALCON = true ]; then \ apt-get install libpcre3-dev; \ + && pecl channel-update pecl.php.net; \ && echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ && mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \ && echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \