fixed
This commit is contained in:
parent
369a5040d4
commit
ff48d295f6
@ -851,9 +851,9 @@ ARG LARADOCK_PHALCON_VERSION
|
|||||||
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
|
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 -yqq install libpcre3-dev; \
|
||||||
&& pecl channel-update pecl.php.net; \
|
&& 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 \
|
||||||
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
|
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
|
||||||
|
@ -314,13 +314,13 @@ ARG LARADOCK_PHALCON_VERSION
|
|||||||
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
|
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 -yqq install libpcre3-dev; \
|
||||||
&& pecl channel-update pecl.php.net; \
|
&& 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; \
|
||||||
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
|
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini; \
|
||||||
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini \
|
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini; \
|
||||||
&& docker-php-ext-enable phalcon \
|
&& docker-php-ext-enable phalcon \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
@ -1322,9 +1322,9 @@ ARG LARADOCK_PHALCON_VERSION
|
|||||||
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
|
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 -yqq install libpcre3-dev; \
|
||||||
&& pecl channel-update pecl.php.net; \
|
&& 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 \
|
||||||
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
|
&& echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
|
||||||
|
Loading…
Reference in New Issue
Block a user