aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kolla/image/build.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index b1388f15b..4c4c9f643 100644
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -691,8 +691,12 @@ class KollaWorker(object):
with open(self.include_footer, 'r') as f:
values['include_footer'] = f.read()
content = template.render(values)
- with open(os.path.join(path, 'Dockerfile'), 'w') as f:
+ content_path = os.path.join(path, 'Dockerfile')
+ with open(content_path, 'w') as f:
+ LOG.debug("Rendered %s into:", tpl_path)
+ LOG.debug(content)
f.write(content)
+ LOG.debug("Wrote it to %s", content_path)
def find_dockerfiles(self):
"""Recursive search for Dockerfiles in the working directory"""