Skip to content

Commit

Permalink
Update php-worker Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
amorZhu committed Apr 25, 2024
1 parent 4b79f94 commit df4ef54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions php-worker/Dockerfile
Expand Up @@ -348,11 +348,11 @@ ARG INSTALL_PHALCON=false
ARG LARADOCK_PHALCON_VERSION
ENV LARADOCK_PHALCON_VERSION ${LARADOCK_PHALCON_VERSION}

RUN if [ $INSTALL_PHALCON = true ]; then \
apt-get update -yqq \
RUN if [ "$INSTALL_PHALCON" = true ]; then \
apk update \
&& pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
&& apk add --no-cache libpcre32 \
&& pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
docker-php-ext-enable phalcon; \
php -m | grep -q 'phalcon' \
;fi
Expand Down

0 comments on commit df4ef54

Please sign in to comment.