I’ve been running into this issue lately with Docker builds. We have a couple of build stages that run for longer than 1 minute and have been exiting before they’re actually finished. This is present in both
0.8.1. I was able to replicate this behavior with a simple script.
#!/bin/sh period=60 echo "sleeping $period" sleep $period exit 1
This script should fail the stage but since it runs for 1 minute, the container is cleaned up before exiting. If the
period is reduced to
59 it works as expected. I’ve been chasing this issue down for the last couple of days so any help would be appreciated! If anyone has seen something like this, please let me know!