Use a base_image variable instead of reusing the `image` variable, which caused image deletion failure (appropriately so)