diff options
| author | Steven Dake <stdake@cisco.com> | 2015-09-17 09:35:33 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-09-28 03:16:48 -0700 |
| commit | 0e99b69de48c1deb7f6f1f707e78f445caa5c3d0 (patch) | |
| tree | b83ec74aef4059cd3d4a93ce59113a80df6aae65 /docker/base | |
| parent | d813f53b956daee77a1530abf2a9a54442785f06 (diff) | |
| download | kolla-0e99b69de48c1deb7f6f1f707e78f445caa5c3d0.tar.gz kolla-0e99b69de48c1deb7f6f1f707e78f445caa5c3d0.zip | |
Implement a install_type and install_metatype
This prepares for the RHEL OSP implementation by making the build
tool convert all binary-* into an install_type of binary and * into
an install_metatype variable substitution inside the Dockerfiles.
Further binary-* is substituted as install_name to enable proper
building only.
Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f
Partially-Implements: blueprint rhel-based-image-support
Diffstat (limited to 'docker/base')
| -rw-r--r-- | docker/base/Dockerfile.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 362387247..7c7263d6d 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -28,6 +28,7 @@ RUN echo 'ERROR: The specified distro has no Kolla images to build: "{{ base_dis ENV KOLLA_BASE_DISTRO {{ base_distro }} ENV KOLLA_INSTALL_TYPE {{ install_type }} +ENV KOLLA_INSTALL_METATYPE {{ install_metatype }} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} |
