mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
contrib/docker-build: don't remove the base image if the first build step fails
This commit is contained in:
@@ -96,7 +96,7 @@ def main():
|
||||
else:
|
||||
print "Skipping uknown op " + op
|
||||
except:
|
||||
docker(["rmi"] + steps)
|
||||
docker(["rmi"] + steps[1:])
|
||||
raise
|
||||
print base
|
||||
|
||||
|
||||
Reference in New Issue
Block a user