mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07: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