Skip to content

Conversation

@matthewjmarangoni
Copy link
Contributor

Checklist

  • A link to a related issue in our repository
  • A description of the changes proposed in the pull request.
  • @mentions of the person or team responsible for reviewing proposed changes.

Description

Building the docker container fails when the buildkit container does not already exist.

The failure is from a sourced script testing for container presence. The script exits when the test fails while having inherited the -e bash option.

The sourced presence test is modified. Additionally a typo is corrected, an EOF newline is added, and the sourcing script has bash tracing output disabled.

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@Sayan- Sayan- left a comment

Choose a reason for hiding this comment

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

Hey @matthewjmarangoni - thanks for flagging! I did some quick local testing and with your proposed changes the start-buildkit.sh would bail out any time the container exists but is "stopped". Instead I propose folding the test's into if's

@matthewjmarangoni
Copy link
Contributor Author

Thanks for finding that and the updates @Sayan-! The suggestions were integrated and testing worked.

Copy link
Contributor

@Sayan- Sayan- left a comment

Choose a reason for hiding this comment

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

Appreciate your contributions!

@Sayan- Sayan- merged commit 23e67d8 into kernel:main Jul 8, 2025
2 checks passed
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.

2 participants