mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
contrib/docker-build: don't remove the base image if the first build step fails
This commit is contained in:
parent
ee82870ff7
commit
deb55e416e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ def main():
|
|||
else:
|
||||
print "Skipping uknown op " + op
|
||||
except:
|
||||
docker(["rmi"] + steps)
|
||||
docker(["rmi"] + steps[1:])
|
||||
raise
|
||||
print base
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue