From bddcf241cb6cfe99c5d98ccaa01e8644d44bda5f Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Thu, 15 Feb 2024 11:49:36 +1100 Subject: [PATCH] append composer bin dirs to path closes #934 --- images/php-cli/8.3.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/php-cli/8.3.Dockerfile b/images/php-cli/8.3.Dockerfile index 8ea8f04a4..219f6df6d 100644 --- a/images/php-cli/8.3.Dockerfile +++ b/images/php-cli/8.3.Dockerfile @@ -33,7 +33,7 @@ RUN curl -L -o /usr/local/bin/composer https://github.com/composer/composer/rele && fix-permissions /home/ # Adding Composer vendor bin directories to $PATH. -ENV PATH="/app/vendor/bin:/home/.composer/vendor/bin:$PATH" +ENV PATH="$PATH:/app/vendor/bin:/home/.composer/vendor/bin" # We not only use "export $PATH" as this could be overwritten again # like it happens in /etc/profile of alpine Images.