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`;