mlocati / docker-php-extension-installer

Easily install PHP extensions in Docker containers
MIT License
4.28k stars 385 forks source link

Saxon extensions doesn't install due to exit command #887

Closed leroy0211 closed 8 months ago

leroy0211 commented 8 months ago

Version of install-php-extensions

v.2.2.1

Error description

The saxon library will not install due to an exit here.

After continuing the installation by running them myself, it works fine and the extension will be loaded.

Just remove the exit line.

Docker image

php:8.2-cli

Minimal Dockerfile

FROM php:8.2-cli

ADD     https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN     chmod +x /usr/local/bin/install-php-extensions \
        && apt update \
        && install-php-extensions saxon

Verify with:

docker run -it --rm [image] php -m 
mlocati commented 8 months ago

Saxon isn't officially supported.

Until today... see #889