This commit is contained in:
kideny 2022-09-27 09:19:13 +08:00
parent 72d8ec8f21
commit 369a5040d4
3 changed files with 3 additions and 0 deletions

View File

@ -852,6 +852,7 @@ ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
RUN if [ $INSTALL_PHALCON = true ]; then \ RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get install libpcre3-dev; \ apt-get install libpcre3-dev; \
&& pecl channel-update pecl.php.net; \
&& echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ && 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 \ && 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=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \

View File

@ -315,6 +315,7 @@ ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
RUN if [ $INSTALL_PHALCON = true ]; then \ RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get install libpcre3-dev; \ apt-get install libpcre3-dev; \
&& pecl channel-update pecl.php.net; \
&& echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ && 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 \ && 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=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \

View File

@ -1323,6 +1323,7 @@ ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
RUN if [ $INSTALL_PHALCON = true ]; then \ RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get install libpcre3-dev; \ apt-get install libpcre3-dev; \
&& pecl channel-update pecl.php.net; \
&& echo '' | pecl install phalcon-${LARADOCK_PHALCON_VERSION} ; \ && 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 \ && 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=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \