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
@@ -280,6 +281,17 @@ phpize \
&& true
# -------------------- Installing PHP Extension: zip --------------------
RUN set -eux \
# Installation: Version specific
# Type: Built-in extension
# Custom: configure command
&& docker-php-ext-configure zip --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr \
# Installation
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \
&& true
# Fix php.ini settings for enabled extensions
@@ -341,7 +353,9 @@ RUN set -eux \
libvpx5 \
libwebp6 \
libxpm4 \
libzip4 \
libzstd1 \
zlib1g \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -430,6 +444,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