mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Fixed building ffi on PHP 7.4
This commit is contained in:
@@ -183,17 +183,8 @@ RUN set -eux \
|
||||
# -------------------- Installing PHP Extension: ffi --------------------
|
||||
RUN set -eux \
|
||||
# Installation: Generic
|
||||
# Type: GIT extension
|
||||
&& git clone https://github.com/dstogov/php-ffi /tmp/ffi \
|
||||
&& cd /tmp/ffi \
|
||||
# Custom: Install command
|
||||
&& phpize \
|
||||
&& ./configure --with-ffi \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
\
|
||||
# Enabling
|
||||
&& docker-php-ext-enable ffi \
|
||||
# Type: Built-in extension
|
||||
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ffi \
|
||||
&& true
|
||||
|
||||
|
||||
|
||||
@@ -254,16 +254,12 @@ extensions_available:
|
||||
ffi:
|
||||
already_avail: [8.0, 8.1]
|
||||
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3]
|
||||
all:
|
||||
type: git
|
||||
git_url: https://github.com/dstogov/php-ffi
|
||||
command: |
|
||||
phpize \
|
||||
&& ./configure --with-ffi \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
build_dep: [libffi-dev]
|
||||
7.4:
|
||||
run_dep: [libffi6]
|
||||
all:
|
||||
type: builtin
|
||||
build_dep: [libffi-dev]
|
||||
run_dep: [libffi7]
|
||||
fileinfo:
|
||||
already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1]
|
||||
5.2:
|
||||
|
||||
Reference in New Issue
Block a user