aboutsummaryrefslogtreecommitdiff
path: root/docker/monasca
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-07-07 13:05:33 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-09-21 12:10:57 +0000
commit87730f8f7c02e5d295ccde2925c8b7b14e4ef693 (patch)
tree74d47aa4a41d456b0725d088ff306e8bfe2bcd3e /docker/monasca
parent94c8465bd5f03514f3a6c14d70047a7469a15731 (diff)
downloadkolla-87730f8f7c02e5d295ccde2925c8b7b14e4ef693.tar.gz
kolla-87730f8f7c02e5d295ccde2925c8b7b14e4ef693.zip
create 'add_binary_source_envs' macro and use it
There is small subset of images where we need to know which install_type or install_metatype is used. So add them only there (and their children). Change-Id: Ib7d5e36b958d6c8daf2989df32e29fa24b46c62a Implements: blueprint infra-images
Diffstat (limited to 'docker/monasca')
-rw-r--r--docker/monasca/monasca-thresh/Dockerfile.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/monasca/monasca-thresh/Dockerfile.j2 b/docker/monasca/monasca-thresh/Dockerfile.j2
index 1741cd6a5..2c9200fba 100644
--- a/docker/monasca/monasca-thresh/Dockerfile.j2
+++ b/docker/monasca/monasca-thresh/Dockerfile.j2
@@ -9,6 +9,7 @@ USER root
{% import "macros.j2" as macros with context %}
+{{ macros.add_binary_source_envs() }}
{{ macros.configure_user(name='monasca') }}
{% if install_type == 'binary' %}