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

Move drush cache inside /root/.cache #32

Open
grayside opened this issue Jul 7, 2017 · 0 comments
Open

Move drush cache inside /root/.cache #32

grayside opened this issue Jul 7, 2017 · 0 comments

Comments

@grayside
Copy link
Contributor

grayside commented Jul 7, 2017

In order to further consolidate our build caches, we want all tools to use /root/.cache as the base directory. Drush should use /root/.cache/drush instead of /root/.drush.

This can be done by setting the CACHE_PREFIX environment variable like so:

ENV CACHE_PREFIX /root/.cache/drush

However, Drush does not take care of automatically creating this directory. We would need to specify that the volume used for caching is pre-created.

This would be really hard to handle automatically, unless we were to pursue #31 first.

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

1 participant