PHP Dom en PHP 8.4

This commit is contained in:
Juan Pablo Vial
2025-05-05 18:16:54 -04:00
parent 46802507a7
commit 167d8e1ab7
2 changed files with 6 additions and 4 deletions

View File

@ -1,11 +1,12 @@
FROM php:8.2-fpm
FROM php:8.4-fpm
ENV TZ=America/Santiago
RUN apt-get update && apt-get install -y --no-install-recommends libzip-dev libicu-dev git libpng-dev unzip tzdata \
RUN apt-get update && apt-get install -y --no-install-recommends libzip-dev libicu-dev git \
libpng-dev unzip tzdata libxml2-dev \
&& rm -r /var/lib/apt/lists/* \
&& docker-php-ext-install pdo pdo_mysql zip intl gd bcmath \
&& pecl install xdebug-3.3.2 \
&& docker-php-ext-install pdo pdo_mysql zip intl gd bcmath dom \
&& pecl install xdebug-3.4.2 \
&& docker-php-ext-enable xdebug \
&& echo $TZ > /etc/timezone

View File

@ -4,6 +4,7 @@
"type": "project",
"require": {
"ext-curl": "*",
"ext-dom": "*",
"ext-gd": "*",
"ext-openssl": "*",
"ext-pdo": "*",