Add PHP extensions
This commit is contained in:
parent
10da9c87d7
commit
64534e5b99
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue