mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
builder: fix incorrect cache match for inline cache with empty layers
See https://github.com/moby/buildkit/pull/1993 Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
9962a3f74e
commit
9bf93e90fa
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
func init() {
|
||||
// See https://github.com/moby/buildkit/pull/1993.
|
||||
v1.EmptyLayerRemovalSupported = false
|
||||
}
|
||||
|
||||
// ResolveCacheImporterFunc returns a resolver function for local inline cache
|
||||
func ResolveCacheImporterFunc(sm *session.Manager, resolverFunc docker.RegistryHosts, cs content.Store, rs reference.Store, is imagestore.Store) remotecache.ResolveCacheImporterFunc {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue