From 72d8ec8f21280f3da9f5b24c8fa34357908a33fc Mon Sep 17 00:00:00 2001 From: kideny Date: Tue, 27 Sep 2022 09:17:24 +0800 Subject: [PATCH] fixed --- php-fpm/Dockerfile | 3 ++- php-worker/Dockerfile | 3 ++- workspace/Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index c71118f9..3ed7df58 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -851,7 +851,8 @@ ARG LARADOCK_PHALCON_VERSION ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION} RUN if [ $INSTALL_PHALCON = true ]; then \ - echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ + apt-get install libpcre3-dev; \ + && 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 \ && echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ diff --git a/php-worker/Dockerfile b/php-worker/Dockerfile index 9ae03ae0..00ee062d 100644 --- a/php-worker/Dockerfile +++ b/php-worker/Dockerfile @@ -314,7 +314,8 @@ ARG LARADOCK_PHALCON_VERSION ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION} RUN if [ $INSTALL_PHALCON = true ]; then \ - echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ + apt-get install libpcre3-dev; \ + && 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 \ && echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ diff --git a/workspace/Dockerfile b/workspace/Dockerfile index fccfd955..e64dc7c9 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1322,7 +1322,8 @@ ARG LARADOCK_PHALCON_VERSION ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION} RUN if [ $INSTALL_PHALCON = true ]; then \ - echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ + apt-get install libpcre3-dev; \ + && 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 \ && echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \