docker: downgrade to php 7.2 for leftypol

This commit is contained in:
Zankaria 2024-04-07 19:50:23 +02:00
parent 919a6d0d2f
commit 677a1e0210
2 changed files with 7 additions and 6 deletions

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:8.1-fpm-alpine
FROM php:7.2-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=/usr/include/webp \
--with-jpeg=/usr/include \
--with-webp-dir=/usr/include/webp \
--with-jpeg-dir=/usr/include \
&& docker-php-ext-install -j$(nproc) \
gd \
curl \