Fix subset of PHP exts for testing

This commit is contained in:
cytopia
2022-12-09 09:48:10 +01:00
parent 9dea48147d
commit c3628171f1
14 changed files with 297 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ RUN set -eux \
libvpx-dev \
libwebp-dev \
libxpm-dev \
libzip-dev \
libzstd-dev \
zlib1g-dev \
# Build tools
@@ -275,6 +276,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
@@ -336,6 +347,7 @@ RUN set -eux \
libvpx6 \
libwebp6 \
libxpm4 \
libzip4 \
libzstd1 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
@@ -423,6 +435,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