contrib/docker-build: don't remove the base image if the first build step fails

This commit is contained in:
Solomon Hykes 2013-04-18 14:46:17 -07:00
parent ee82870ff7
commit deb55e416e
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def main():
else:
print "Skipping uknown op " + op
except:
docker(["rmi"] + steps)
docker(["rmi"] + steps[1:])
raise
print base