Add PHP extensions

This commit is contained in:
Ben van Hartingsveldt 2025-05-25 19:42:26 +02:00
parent 10da9c87d7
commit 64534e5b99
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB

View file

@ -11,7 +11,15 @@ RUN apk add --no-cache --virtual .source $SRC_DEPS
ENV BIN_DEPS="gmp git icu nginx"
RUN apk add --no-cache --virtual .binary $BIN_DEPS
# Install PHP Extensions
RUN pecl install redis
RUN docker-php-ext-enable redis
RUN docker-php-ext-install bcmath
RUN docker-php-ext-install gmp
RUN docker-php-ext-install opcache
RUN docker-php-ext-install pdo
# Delete PHPize packages
RUN apk del --no-network --no-cache --purge .phpize