Supporting fs.FS
alongside a local directory in Solve's LocalDirs implementation?
#2744
hugosantos
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
This should probably be ok as update to |
Beta Was this translation helpful? Give feedback.
1 reply
-
Actually, I don't think it needs fsutil changes. All these functions seem to already use So you need a way to pass |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a few use-cases where we precompute the filesystem to be used by a buildkit invocation, and would benefit from being able to have buildkit consume an arbitrary "filesystem", as opposed to only supporting diffcopy from the local fs.
We've considering creating individual files using
llb.Mkfile
etc but we could be creating more than 1000 files that are served as input, and don't always know which ones exactly will be used by invocation. So being able to more incrementally upload the contents would be beneficial.If this makes sense, happy to send a pull request. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions