-
Notifications
You must be signed in to change notification settings - Fork 133
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
composer home directory not writable when running as custom user #13
Comments
Maybe we can use something like |
I defaulted the I chose this solution because |
I see. BTW, is there a way to change the default packagist source globally? I have to make a new image adding |
Your solution is the only way to make it an explicit default in the image/container itself. Alternatively, you can mount your Composer home directory ( |
This change is not yet reflected in the docs. |
It should be soon. docker-library/docs#981 |
When running the Composer image as follows
the default
COMPOSER_HOME
(/composer
) cannot be written to by the user which is used to run the process. Since these Containers are ephemeral and single-run only, I am not sure if having a writable cache is of any use. Regardless, it would be nice to avoid having Composer throw warnings around.The text was updated successfully, but these errors were encountered: