Merge pull request #981 from tonistiigi/target-context-remove

build: remove target context if platform specific used
This commit is contained in:
CrazyMax 2022-03-04 16:29:20 +01:00 committed by GitHub
commit 2d5368cccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1267,6 +1267,7 @@ func waitContextDeps(ctx context.Context, index int, results *waitmap.Map, so *c
so.FrontendAttrs["input-metadata:"+k+"::"+platform] = string(dt)
}
}
delete(so.FrontendAttrs, v)
}
if rr.Ref != nil {
st, err := rr.Ref.ToState()