question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Squashing an image that is already squashed causes a nonzero exit code

See original GitHub issue

We’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:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
goldmanncommented, Mar 1, 2017

Thank you, I’ll change this to warning and exit gracefully.

0reactions
maxamillioncommented, Mar 15, 2017

Sounds good. +1

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found