diff --git a/kolla/image/build.py b/kolla/image/build.py index 6af8f24aa9..0de6b8bef7 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -875,7 +875,7 @@ class KollaWorker(object): env.filters.update(self._get_filters()) env.globals.update(self._get_methods()) template = env.get_template(template_name) - content = template.render(values) + content = template.render(values, env=os.environ) content_path = os.path.join(path, 'Dockerfile') with open(content_path, 'w') as f: LOG.debug("Rendered %s into:", tpl_path)