docker: upgrade php to 8.0

This commit is contained in:
Zankaria 2024-06-23 22:23:43 +02:00
parent 6e962f91ad
commit 4e1654a1d3

View file

@ -1,7 +1,7 @@
# Based on https://github.com/dead-guru/devichan/blob/master/php-fpm/Dockerfile
FROM composer AS composer
FROM php:7.2-fpm-alpine
FROM php:8.0-fpm-alpine
RUN apk add --no-cache \
zlib \
@ -32,8 +32,8 @@ RUN apk add --no-cache \
pcre-dev \
$PHPIZE_DEPS \
&& docker-php-ext-configure gd \
--with-webp-dir=/usr/include/webp \
--with-jpeg-dir=/usr/include \
--with-webp=/usr/include/webp \
--with-jpeg=/usr/include \
&& docker-php-ext-install -j$(nproc) \
gd \
curl \