docker php upgrade

This commit is contained in:
Saeed Vaziry
2025-06-10 00:16:51 +02:00
parent 09a9735962
commit eceacffb0d
3 changed files with 5 additions and 5 deletions

View File

@ -13,11 +13,11 @@ RUN apt-get install -y software-properties-common curl zip unzip gcc nginx \
dnsutils librsvg2-bin fswatch wget openssh-client \
&& add-apt-repository ppa:ondrej/php -y \
&& apt-get update \
&& apt-get install -y php8.2 php8.2-fpm php8.2-mbstring php8.2-mcrypt php8.2-gd php8.2-xml \
php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl
&& apt-get install -y php8.4 php8.4-fpm php8.4-mbstring php8.4-mcrypt php8.4-gd php8.4-xml \
php8.4-curl php8.4-gettext php8.4-zip php8.4-bcmath php8.4-soap php8.4-redis php8.4-sqlite3 php8.4-intl
# php
COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini
COPY docker/php.ini /etc/php/8.4/cli/conf.d/99-vito.ini
# composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer