Change the way we invoke install php extensions

This commit is contained in:
David Bomba
2025-01-24 11:41:37 +11:00
parent e161a85133
commit 00e54c9c23
2 changed files with 9 additions and 14 deletions

View File

@@ -51,7 +51,14 @@ RUN set -eux; \
ttf-dejavu
# Install PHP extensions
RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
# RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
# ${php_require} \
# ${php_suggest} \
# ${php_extra}
RUN wget -O /usr/local/bin/install-php-extensions https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions \
&& chmod +x /usr/local/bin/install-php-extensions \
&& install-php-extensions \
${php_require} \
${php_suggest} \
${php_extra}