-
Notifications
You must be signed in to change notification settings - Fork 407
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
support building from a scratch image #1350
base: main
Are you sure you want to change the base?
Conversation
@cpanato updated |
Great! I hope this can be merged soon. |
This Pull Request is stale because it has been open for 90 days with |
@cpanato Any feedback from reviewing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Just a few small comments.
If we wanted to be extra paranoid we could move ScratchImage
into an internal
package, but I don't feel strongly about it.
if err != nil { | ||
t.Fatalf("expected no error when getting image for digest %s, got %s", m.Digest, err) | ||
} | ||
ls, err := img.Layers() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this err is unchecked.
t.Errorf("unexpected OS %s", m.Platform.OS) | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(to appease the linter)
Fix #207; Add e2e testing based on #1038.
The Windows Delve debugger is also failing on the main branch, so I've left it as is for now.