From 87730f8f7c02e5d295ccde2925c8b7b14e4ef693 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 7 Jul 2020 13:05:33 +0200 Subject: 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 --- docker/openstack-base/Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'docker/openstack-base') 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' %} -- cgit v1.2.3