Skip to content

Amélioration des perfs docker#2203

Merged
Mopolo merged 1 commit intoafup:masterfrom
Mopolo:optimisation-dockerfile
Apr 27, 2026
Merged

Amélioration des perfs docker#2203
Mopolo merged 1 commit intoafup:masterfrom
Mopolo:optimisation-dockerfile

Conversation

@Mopolo
Copy link
Copy Markdown
Contributor

@Mopolo Mopolo commented Apr 25, 2026

Plusieurs optimisations qui permettent de diviser par 2 le temps moyen des tests behat dans la CI :

  • découpage du Dockerfile en stages (pas besoin de node ni chromium pour les test d'intégration)
  • utilisation de mlocati/docker-php-extension-installer pour ne plus avoir à installer des packages de compilation
  • gestion du cache dans la CI par layers docker (c'est surtout là qu'on gagne du temps)

Tout ça ne change rien en local, on continue à build l'image complète pour le dev.

@Mopolo Mopolo self-assigned this Apr 25, 2026
@Mopolo Mopolo changed the title Improve docker build performance Amélioration des perfs docker Apr 25, 2026
@Mopolo Mopolo force-pushed the optimisation-dockerfile branch 2 times, most recently from 349874e to eb071db Compare April 25, 2026 12:01
@Mopolo Mopolo force-pushed the optimisation-dockerfile branch from eb071db to 9e3122d Compare April 25, 2026 12:25
@Mopolo Mopolo marked this pull request as ready for review April 25, 2026 13:51
@Mopolo Mopolo requested a review from vgreb April 25, 2026 13:51
@Mopolo Mopolo merged commit 0032e74 into afup:master Apr 27, 2026
12 checks passed
@Mopolo Mopolo deleted the optimisation-dockerfile branch April 27, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants