File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -530,18 +530,19 @@ ARG INSTALL_PHALCON=false
530530ARG LARADOCK_PHALCON_VERSION
531531ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}
532532
533+ # Copy phalcon configration
534+ COPY ./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini.disable
535+
533536RUN if [ $INSTALL_PHALCON = true ]; then \
534537 apt-get update && apt-get install -y unzip libpcre3-dev gcc make re2c \
535538 && curl -L -o /tmp/cphalcon.zip https://github.com/phalcon/cphalcon/archive/v${LARADOCK_PHALCON_VERSION}.zip \
536539 && unzip -d /tmp/ /tmp/cphalcon.zip \
537540 && cd /tmp/cphalcon-${LARADOCK_PHALCON_VERSION}/build \
538541 && ./install \
542+ && mv /usr/local/etc/php/conf.d/phalcon.ini.disable /usr/local/etc/php/conf.d/phalcon.ini \
539543 && rm -rf /tmp/cphalcon* \
540544;fi
541545
542- # Copy phalcon configration
543- COPY ./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini
544-
545546# ##########################################################################
546547# APCU:
547548# ##########################################################################
You can’t perform that action at this time.
0 commit comments