From 11e0d99c8cbc053f48b3e1a70f6297ccb45f3cbc Mon Sep 17 00:00:00 2001 From: Christopher Allford <6451942+ObliviousHarmony@users.noreply.github.com> Date: Tue, 23 May 2023 15:16:21 -0700 Subject: [PATCH] Fixed Windows `composer` Paths --- packages/env/lib/init-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/env/lib/init-config.js b/packages/env/lib/init-config.js index 46384599f8822e..68b91edaa33393 100644 --- a/packages/env/lib/init-config.js +++ b/packages/env/lib/init-config.js @@ -244,7 +244,7 @@ RUN rm /tmp/composer-setup.php`; // Make sure to do this as the user and ensure the binaries are available in the $PATH. dockerFileContent += ` USER $HOST_UID:$HOST_GID -ENV PATH="\${PATH}:/home/$HOST_USERNAME/.composer/vendor/bin" +ENV PATH="\${PATH}:~/.composer/vendor/bin" RUN composer global require --dev yoast/phpunit-polyfills:"^1.0" USER root`;