Update dev docker base image to php:8.1-fpm

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf 2023-07-22 19:16:32 +02:00
parent e2857a1ffe
commit 13a3a5596c

View file

@ -1,4 +1,4 @@
FROM php:7.4-fpm AS rootless FROM php:8.1-fpm AS rootless
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ARG NODE_VERSION=16 ARG NODE_VERSION=16
@ -33,7 +33,8 @@ RUN apt-get update && apt-get install -y \
zlib1g-dev \ zlib1g-dev \
git \ git \
build-essential \ build-essential \
nodejs nodejs \
npm
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
RUN docker-php-ext-install -j "$(nproc)" \ RUN docker-php-ext-install -j "$(nproc)" \
bcmath \ bcmath \