fix caching issues with Local

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-02-24 15:38:03 -08:00
parent 99c41083a9
commit b2bc801cd0
2 changed files with 30 additions and 7 deletions

View File

@@ -35,6 +35,10 @@ func (s Solver) Scratch() FS {
return s.FS(llb.Scratch())
}
func (s Solver) SessionID() string {
return s.c.BuildOpts().SessionID
}
// Solve will block until the state is solved and returns a Reference.
func (s Solver) SolveRequest(ctx context.Context, req bkgw.SolveRequest) (bkgw.Reference, error) {
// call solve