prestissimo icon indicating copy to clipboard operation
prestissimo copied to clipboard

Not working when using other user than root?

Open it-can opened this issue 7 years ago • 3 comments

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?

it-can avatar Jun 12 '17 07:06 it-can

+1

romainruaud avatar Sep 14 '17 13:09 romainruaud

+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.

Andreas-Halemba avatar Oct 21 '17 18:10 Andreas-Halemba

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?

seyfer avatar Apr 17 '19 09:04 seyfer