diff options
Diffstat (limited to 'kolla')
| -rw-r--r-- | kolla/image/build.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index 231824e85..8d5d6ee48 100644 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -695,8 +695,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""" |
