From ad6b6eb0477b402cf9ff875b6b842dbb057dba2b Mon Sep 17 00:00:00 2001 From: Sam DEPARDIEU Date: Mon, 6 Jul 2026 12:06:41 +0200 Subject: [PATCH] Dockerfile: ajoute libicu-dev + extension intl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit L'extension PHP intl nécessite la bibliothèque système libicu-dev, absente jusqu'ici (échec du build: icu-uc not found). Co-Authored-By: Claude Opus 4.8 --- DOCKERFILE | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DOCKERFILE b/DOCKERFILE index dbf135c..a33a451 100644 --- a/DOCKERFILE +++ b/DOCKERFILE @@ -1,14 +1,15 @@ FROM php:8.2-fpm # Installation des dépendances système +# libicu-dev est requis pour l'extension PHP intl. RUN apt-get update && apt-get install -y \ - git curl libpng-dev libonig-dev libxml2-dev zip unzip + git curl libpng-dev libonig-dev libxml2-dev libicu-dev zip unzip # Nettoyage du cache RUN apt-get clean && rm -rf /var/lib/apt/lists/* # Installation des extensions PHP pour Laravel et MySQL -RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd +RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd intl # Récupération de Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer