mlocati/docker-php-extension-installer

Add support for SeasClick

Closed this issue · 1 comments

Version of install-php-extensions

install-php-extensions v.2.1.37

Error description

I try to install SeasClick extention but it fails with exit code 1.

#0 25.28 Build process completed successfully
#0 25.28 Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20210902/SeasClick.so'
#0 25.30 install ok: channel://pecl.php.net/SeasClick-0.1.1
#0 25.30 configuration option "php_ini" is not set to php.ini location
#0 25.30 You should add "extension=SeasClick.so" to php.ini
#0 25.31 + postProcessModule seasclick
#0 25.31 + getModuleFullPath seasclick
#0 25.31 + getModuleFullPath_path=/usr/local/lib/php/extensions/no-debug-non-zts-20210902/seasclick.so
#0 25.31 + test -f /usr/local/lib/php/extensions/no-debug-non-zts-20210902/seasclick.so
#0 25.31 + printf 'Unable to find the file of the PHP extension "%s"\n' seasclick
#0 25.31 Unable to find the file of the PHP extension "seasclick"
#0 25.31 + exit 1
#0 25.31 + postProcessModule_file=

File present in folder but has CamesCaseName

# ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
total 12912
-rw-r--r--    1 root     root      12094384 Jul 31 16:39 SeasClick.so
-rwxr-xr-x    1 root     root       1018760 Apr 14 18:39 opcache.so
-rwxr-xr-x    1 root     root        104392 Apr 14 18:39 sodium.so

Docker image

php:8.1

Minimal Dockerfile

FROM php:8.1-cli-alpine3.17 as base

COPY --from=mlocati/php-extension-installer:latest /usr/bin/install-php-extensions /usr/local/bin/

RUN install-php-extensions SeasClick

The SeasClick PHP extension is not currently supported: see https://github.com/mlocati/docker-php-extension-installer#supported-php-extensions

I'll try to add support to it when I can find some spare time