Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix deadlock on handling deps errors #962

Merged
merged 1 commit into from
Feb 22, 2022

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