mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Fix subset of PHP exts for testing
This commit is contained in:
@@ -27,6 +27,7 @@ RUN set -eux \
|
||||
libvpx-dev \
|
||||
libwebp-dev \
|
||||
libxpm-dev \
|
||||
libzip-dev \
|
||||
libzstd-dev \
|
||||
zlib1g-dev \
|
||||
# Build tools
|
||||
@@ -285,6 +286,16 @@ phpize \
|
||||
&& true
|
||||
|
||||
|
||||
# -------------------- Installing PHP Extension: zip --------------------
|
||||
RUN set -eux \
|
||||
# Installation: Generic
|
||||
# Type: Built-in extension
|
||||
# Custom: configure command
|
||||
&& docker-php-ext-configure zip --with-zip \
|
||||
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \
|
||||
&& true
|
||||
|
||||
|
||||
|
||||
|
||||
# Fix php.ini settings for enabled extensions
|
||||
@@ -348,6 +359,7 @@ RUN set -eux \
|
||||
libvpx6 \
|
||||
libwebp6 \
|
||||
libxpm4 \
|
||||
libzip4 \
|
||||
libzstd1 \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
@@ -437,6 +449,10 @@ RUN set -eux \
|
||||
&& php-fpm -m | grep -oiE '^zstd$' \
|
||||
&& php -m | grep -oiE '^redis$' \
|
||||
&& php-fpm -m | grep -oiE '^redis$' \
|
||||
&& php -m | grep -oiE '^zip$' \
|
||||
&& php-fpm -m | grep -oiE '^zip$' \
|
||||
&& php -m | grep -oiE '^phar$' \
|
||||
&& php-fpm -m | grep -oiE '^phar$' \
|
||||
&& true
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user