From fba849e5dfac334163b359f9b0a26fe65632bd7c Mon Sep 17 00:00:00 2001 From: Shaun Drong Date: Thu, 21 May 2026 16:38:52 -0700 Subject: [PATCH] Add composer to Dockerfile from official composer image Copy the latest 2.9.x build of composer to the Docker image. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4da5577..161fccd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM mcr.microsoft.com/devcontainers/php:8.3 +# Copy latest 2.9.x build of composer over the version provided by the microsoft image above +COPY --from=composer/composer:2.9-bin /composer /usr/bin/composer # Change default umask and add user to web group so we can share write permission on web files # Configure pam_umask to set umask to 002 (works regardless of /etc/login.defs content)