Skip to content

Commit

Permalink
fix: php 5.6 not support ffi ext.
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlong committed Oct 2, 2023
1 parent 4a74e86 commit 56022cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ RUN set -eux; \
fi; \
if [ ${PHP_TAG_VERSION} != "7.3" ] && \
[ ${PHP_TAG_VERSION} != "7.2" ] && \
[ ${PHP_TAG_VERSION} != "7.1" ]; then \
[ ${PHP_TAG_VERSION} != "7.1" ] && \
[ ${PHP_TAG_VERSION} != "5.6" ]; then \
apt-get install -y php${PHP_TAG_VERSION}-ffi; \
fi
# RUN set -eux; \
Expand Down Expand Up @@ -127,7 +128,7 @@ RUN php${PHP_TAG_VERSION} -m

RUN set -eux; \
# Install and run Composer
curl -sS https://getcomposer.org/installer | phpphp${PHP_TAG_VERSION}; \
curl -sS https://getcomposer.org/installer | php${PHP_TAG_VERSION}; \
mv composer.phar /usr/local/bin/composer; \
chmod +x /usr/local/bin/composer; \
# Install deployer
Expand Down

0 comments on commit 56022cc

Please sign in to comment.