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

Debugging failed builds #227

Closed
peterwaller-arm opened this issue Feb 17, 2020 · 1 comment
Closed

Debugging failed builds #227

peterwaller-arm opened this issue Feb 17, 2020 · 1 comment

Comments

@peterwaller-arm
Copy link

I have a build step which takes a long time to run (imagine, e.g. hours). Sometimes it fails.

It would be nice when that happens if the image continued to be around, so I could:

  • Go and dig out logs which the build machinery saves into /tmp/...buildfailure...log. (This is unpredictable and unconfigurable, since there are quite a number of things going on in the build.)
  • Quickly go in and run commands in the same failing context, without having to repeat ~hours worth of build to get to the point of failure.

I might have expected an option like --keep-failed, but I didn't yet find it.

@tonistiigi
Copy link
Member

moby/buildkit#1472

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

No branches or pull requests

2 participants