Repository navigation
Conversation
| pbDef, _, err := bk.EngineContainerLocalImport(ctx, platforms.DefaultSpec(), tmpDir, nil, nil) | ||
| if err != nil { | ||
| return nil, fmt.Errorf("failed to import container tarball from engine container filesystem: %w", err) | ||
| } |
There was a problem hiding this comment.
As mentioned by @sipsma on discord, we should avoid the use of this API entirely - it caches very badly, and is not very fun to maintain.
Updating/adding an LLB source is a better route. I think we could actually customize or even add new LLB ops (not just sources) now that we have our own worker too (just need to handle calling it in ResolveOp).
Those options give you access to raw snapshots/mounts so you should be able to do whatever you want
(similar to #6927)
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
51b0f90 to
00565ca
Compare
These are exclusively used in modulesource.go, so we should move them to there. Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
00565ca to
59c2691
Compare
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
Warning
Implementation is not complete!
Fixes #8720.
Opening a draft PR to track this!