aboutsummaryrefslogtreecommitdiff
path: root/docker/openstack-base
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/openstack-base
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/openstack-base')
-rw-r--r--docker/openstack-base/Dockerfile.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2
index 48d4629ba..399be3245 100644
--- a/docker/openstack-base/Dockerfile.j2
+++ b/docker/openstack-base/Dockerfile.j2
@@ -7,6 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
+{{ macros.add_binary_source_envs() }}
{{ macros.enable_extra_repos(['opstools']) }}
{% if install_type == 'binary' %}