Skip to content

build: fix sharedkey computation for local context#2558

Merged
tonistiigi merged 1 commit intodocker:masterfrom
tonistiigi:fix-sharedkey-for-context
Jun 28, 2024
Merged

build: fix sharedkey computation for local context#2558
tonistiigi merged 1 commit intodocker:masterfrom
tonistiigi:fix-sharedkey-for-context

Conversation

@tonistiigi
Copy link
Member

fixes #2552
regression from #2254 (v0.14)

When LocalDirs were changed to LocalMounts, this broke the sharedKey computation that was based on the context directory path. SharedKey defines if directory is valid candidate for incremental context transfer and if not set properly then different directories do metadata-based transfers to same destination.

When LocalDirs were changed to LocalMounts, this broke the
sharedKey computation that was based on the context directory
path. SharedKey defines if directory is valid candidate for
incremental context transfer and if not set properly then
different directories do metadata-based transfers to same destination.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😰

@tonistiigi tonistiigi merged commit 9358c45 into docker:master Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v0.14] invalid cached file sent to context with buildx

2 participants