Skip to content

build: fix deadlock on handling deps errors#962

Merged
crazy-max merged 1 commit intodocker:masterfrom
tonistiigi:bake-deps-error
Feb 22, 2022
Merged

build: fix deadlock on handling deps errors#962
crazy-max merged 1 commit intodocker:masterfrom
tonistiigi:bake-deps-error

Conversation

@tonistiigi
Copy link
Member

fixes #952

In the case waitContextDeps returned error it left the waitgroup block and process deadlocked.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

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.

good catch I encountered this while testing named context with deps: moby/buildkit#2654 (comment)

@crazy-max crazy-max merged commit 75cdea4 into docker:master Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bake: build dependent images in order

2 participants