Conversation
|
Composer 1 and 2 has different defaults for cache dir ( https://github.com/composer/composer/blob/2.0.0-RC2/doc/03-cli.md#composer_home
Also each php container needs own global set of packages so we can't share its home |
f045ce1 to
4c9255a
Compare
4c9255a to
ce0828e
Compare
ce0828e to
05f75c9
Compare
|
For core development I'm using local mounts volumes:
- ./:/var/www/html/web
- /home/andypost/.cache/composer:/home/www-data/.composer/cache |
That's cool, would $USER variable work here ? |
|
I'm sure we can't bet on it as every OS it different locally https://github.com/composer/composer/blob/2.0.0-RC2/doc/03-cli.md#composer_home So local cache place is user's preference, maybe example of it helpful, thanks will update asap
|
|
Still looks more viable to use https://github.com/composer/composer/blob/2.0/doc/03-cli.md#composer_cache_dir to share only cache directory |
Alternative to #278
Just keeps changes smaller, the
.cachedir already exists if database defined or will be created by composer on first run