Squashing an image that is already squashed causes a nonzero exit code
See original GitHub issueWe’ve integrated docker-squash into our pipeline for certain Docker images. If an image has already been squashed, though, docker-squash exits with an exit code of 0, which indicates an error.
It would be nice if this particular situation wasn’t considered an error, or at least offer a command-line flag that would print a message to the INFO or WARNING logger but not exit 1.
A workaround for this problem would be to skip error checking for this part of our pipeline.
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Squeezing/Squashing of Images in iOS Swift
I am already removing the background of the car. Now I just need to squeeze or squash the car. – Jabbar. Sep 16...
Read more >Squashing Docker Images · - Jason Wilder's Blog ·
The resulting image has all of the layers beneath the initial FROM layer squashed into a single layer. The other layers defining PORT...
Read more >Implementing Code Review Feedback: To Squash or Not ...
Should code review feedback be addressed by appending commits or rebasing ... a command on each commit and stop on a non-zero exit...
Read more >Squash, Merge, or Rebase? : r/programming
I use rebase, squash, and merge all for different purposes ... an entire branch leads to gigantic commits with absolutely zero context.
Read more >Squash and merge - GitLab Docs
Ensure the Squash commits checkbox is selected. This checkbox doesn't display if the project's squashing option is set to either Do not allow...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you, I’ll change this to warning and exit gracefully.
Sounds good. +1