Merge pull request #7141 from yguedidi/fix-docker-setup

Fix docker setup
This commit is contained in:
Yassine Guedidi
2023-12-27 19:24:21 +01:00
committed by GitHub

View File

@ -1,7 +1,7 @@
FROM php:8.1-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=20
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y \
@ -33,8 +33,7 @@ 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 \