diff --git a/kolla/image/build.py b/kolla/image/build.py index b1388f15b8ec09b6329889bf8a9c9de712939f42..4c4c9f643b4209a0eebaf330d4ed815c83b11d14 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"""