Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working when using other user than root? #149

Open
it-can opened this issue Jun 12, 2017 · 3 comments
Open

Not working when using other user than root? #149

it-can opened this issue Jun 12, 2017 · 3 comments

Comments

@it-can
Copy link

it-can commented Jun 12, 2017

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?

@romainruaud
Copy link

+1

@Andreas-Halemba
Copy link

Andreas-Halemba commented Oct 21, 2017

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

@seyfer
Copy link

seyfer commented Apr 17, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants