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

Coerce all manager caches to /tmp/containerbase #2988

Open
rarkins opened this issue Jul 26, 2024 · 1 comment
Open

Coerce all manager caches to /tmp/containerbase #2988

rarkins opened this issue Jul 26, 2024 · 1 comment
Assignees
Labels
breaking Breaking change, requires major version bump priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation
Milestone

Comments

@rarkins
Copy link
Member

rarkins commented Jul 26, 2024

We need to support two different read-only FS scenarios:

Full install at build time, no dynamic installs: in this case /opt/containerbase will be fully prepopulated, so cannot be mapped to a Volume, so needs to be read-only after build.

No/minimal install at build time, all dynamic installs: in this case /opt/containerbase should be mapped to a Volume and assumed to be empty at the beginning.

To support the first one in particular, we should coerce all package manager caches to a location in /tmp, proposed: /tmp/containerbase/cache. We should also assume in both scenarios above that either /tmp or /tmp/containerbase is mapped to a Volume and empty to begin with.

Ideally we can coerce all package managers to use our custom cache location through environment variables, and then Renovate does not need to set/override these when calling package managers through child processes.

@rarkins
Copy link
Member Author

rarkins commented Jul 26, 2024

Past issue: #2713

@viceice viceice added breaking Breaking change, requires major version bump priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation labels Jul 26, 2024
@viceice viceice added this to the v12 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change, requires major version bump priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation
Projects
None yet
Development

No branches or pull requests

2 participants