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