Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Expose buildkit's cache mount functionality? #119

Open
maowtm opened this issue Feb 3, 2022 · 1 comment
Open

Expose buildkit's cache mount functionality? #119

maowtm opened this issue Feb 3, 2022 · 1 comment
Assignees
Milestone

Comments

@maowtm
Copy link
Contributor

maowtm commented Feb 3, 2022

This allows adding a mounted directory that persists between build runs. For example, we can mount target to such a cache, and cargo would not have to re-compile all the dependencies on each image build. (Currently this is achieved in our own Modusfile with a slight hack).

@maowtm maowtm added this to the 0.2 milestone Feb 3, 2022
@maowtm maowtm self-assigned this Feb 3, 2022
@maowtm
Copy link
Contributor Author

maowtm commented Mar 14, 2022

Proposal: ::cached(path) (path can be relative or absolute, resolved based on cwd). Dir will initially just be empty.

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

No branches or pull requests

1 participant