prestissimo
prestissimo copied to clipboard
Not working when using other user than root?
Hi,
I am using this on my machine, where I have multiple users (I installed this per user, composer global require hirak/prestissimo
The plugin is installed correctly (per user), but the parallel downloading is not working. Composer just downloads packages one by one... Am I doing something wrong?
+1
+1 is there any option to get this running under nonroot users?
I got it working as a non root user by installing it as the user i want it to be ran as.
Here some dockerfile stuff i am using now.
USER www-data
RUN composer global require hirak/prestissimo
RUN composer install -d /var/www --no-progress --profile --prefer-dist
RUN composer global remove hirak/prestissimo
You see i switch user to www-data than install it than i run my composer install and than i remove it because i dont need it any more.
If I want to install it only under user it
then I do this
USER it
RUN composer global require hirak/prestissimo
USER root
but when I log into a container with user it
and do composer install
- prestissimo doesn't work. why?