From 4659f9c3baeb02cfb2434b7a7c5379817749f5bf Mon Sep 17 00:00:00 2001 From: Heverton Coneglian de Freitas Date: Mon, 17 Feb 2020 09:29:17 -0300 Subject: [PATCH] Add support for ffi --- README.md | 3 ++- data/supported-extensions | 1 + install-php-extensions | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df55b3b..75491f2 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ RUN install-php-extensions gd xdebug | decimal | | | V | V | V | V | V | | enchant | V | V | V | V | V | V | V | | exif | V | V | V | V | V | V | V | +| ffi | | | | | | | V | | gd | V | V | V | V | V | V | V | | gettext | V | V | V | V | V | V | V | | gmagick | V | V | V | V | V | V | V | @@ -125,7 +126,7 @@ RUN install-php-extensions gd xdebug | yaml | V | V | V | V | V | V | V | | zip | V | V | V | V | V | V | V | -*Number of supported extensions: 75* +*Number of supported extensions: 76* PS: the pre-installed PHP extensions are excluded from this list. diff --git a/data/supported-extensions b/data/supported-extensions index a69724b..96f256a 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -8,6 +8,7 @@ dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 decimal 7.0 7.1 7.2 7.3 7.4 enchant 5.5 5.6 7.0 7.1 7.2 7.3 7.4 exif 5.5 5.6 7.0 7.1 7.2 7.3 7.4 +ffi 7.4 gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 gettext 5.5 5.6 7.0 7.1 7.2 7.3 7.4 gmagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 diff --git a/install-php-extensions b/install-php-extensions index d192b96..3b2f45e 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -268,6 +268,13 @@ buildRequiredPackageLists() { buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libenchant1c2a" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libenchant-dev" ;; + ffi@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libffi" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libffi-dev" + ;; + ffi@debian) + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libffi-dev" + ;; gd@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetype libjpeg-turbo libpng libxpm" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetype-dev libjpeg-turbo-dev libpng-dev libxpm-dev"