mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +03: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