Update to PHP 8

This commit is contained in:
Juan Pablo Vial
2022-03-07 14:16:37 -03:00
parent 483a3e943c
commit 0c62ed0582
2 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,10 @@
FROM php:7.4-fpm
FROM php:8.1-fpm
RUN apt-get update && apt-get install -y libzip-dev libicu-dev git
RUN apt-get update && apt-get install -y libzip-dev libicu-dev git libpng-dev unzip
RUN docker-php-ext-install pdo pdo_mysql zip intl
RUN docker-php-ext-install pdo pdo_mysql zip intl gd
RUN pecl install xdebug-3.0.3 \
RUN pecl install xdebug-3.1.3 \
&& docker-php-ext-enable xdebug
COPY --from=composer /usr/bin/composer /usr/bin/composer

View File

@ -12,9 +12,9 @@
"aldarien/url": "*",
"j4mie/paris" : "^1.5",
"danielstjules/stringy" : "^3.1",
"phpoffice/phpspreadsheet": "1-beta",
"phpoffice/phpspreadsheet": "^1",
"nesbot/carbon": "^2",
"phpoffice/phpword": "^0.14.0",
"phpoffice/phpword": "^0",
"slam/php-excel": "^4.4",
"fabpot/goutte": "^3.2",
"incoviba/modelos": "*",
@ -26,7 +26,7 @@
"vlucas/phpdotenv": "^5.3"
},
"require-dev" : {
"phpunit/phpunit" : "^6.3",
"phpunit/phpunit" : "^8",
"kint-php/kint" : "^2.1",
"filp/whoops" : "^2.1"
},