php 8.2 update

This commit is contained in:
Shihaam Abdul Rahman 2024-09-22 23:09:14 +05:00
parent 1f8a5f09c5
commit 256ffccf6b
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 7 additions and 6 deletions

View File

@ -11,10 +11,13 @@ RUN apt update \
&& apt auto-remove -y \ && apt auto-remove -y \
&& apt clean -y && apt clean -y
## Install composer and some base extensions # Install dependencies for intl extension
# Configure and Install mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg RUN apt-get update && apt-get install -y \
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ libicu-dev \
&& docker-php-ext-install {mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm} && 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 config
COPY php.ini /usr/local/etc/php/php.ini COPY php.ini /usr/local/etc/php/php.ini

View File

@ -1,6 +1,4 @@
version: '3.5'
services: services:
#########################
fpm: fpm:
build: build:
context: . context: .