This commit is contained in:
kideny 2022-09-27 09:17:24 +08:00
parent f9d7fc3b12
commit 72d8ec8f21
3 changed files with 6 additions and 3 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \