Dockerfile: ajoute libicu-dev + extension intl
CI - Intégration continue / quality-and-tests (push) Successful in 2m57s
CD - Déploiement continu / deploy (push) Successful in 3m2s

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 <noreply@anthropic.com>
This commit is contained in:
2026-07-06 12:06:41 +02:00
parent 3b7b527462
commit ad6b6eb047
+3 -2
View File
@@ -1,14 +1,15 @@
FROM php:8.2-fpm FROM php:8.2-fpm
# Installation des dépendances système # Installation des dépendances système
# libicu-dev est requis pour l'extension PHP intl.
RUN apt-get update && apt-get install -y \ 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 # Nettoyage du cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Installation des extensions PHP pour Laravel et MySQL # 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 # Récupération de Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer