php 8.2 update
This commit is contained in:
@ -11,10 +11,13 @@ RUN apt update \
|
||||
&& apt auto-remove -y \
|
||||
&& apt clean -y
|
||||
|
||||
## Install composer and some base extensions
|
||||
# Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm}
|
||||
# Install dependencies for intl extension
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libicu-dev \
|
||||
&& docker-php-ext-configure intl \
|
||||
&& docker-php-ext-install intl
|
||||
|
||||
RUN docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,intl,gd,zip}
|
||||
|
||||
# Copy php.ini config
|
||||
COPY php.ini /usr/local/etc/php/php.ini
|
||||
|
Reference in New Issue
Block a user