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

@@ -24,6 +24,7 @@ RUN set -eux \
libvpx-dev \
libwebp-dev \
libxpm-dev \
libzip-dev \
zlib1g-dev \
# Build tools
autoconf \
@@ -216,6 +217,17 @@ fi \
&& 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 \
# Installation
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \
&& true
# Fix php.ini settings for enabled extensions
@@ -276,6 +288,8 @@ RUN set -eux \
libvpx1 \
libwebp5 \
libxpm4 \
libzip2 \
zlib1g \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -358,6 +372,10 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^apcu$' \
&& 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