diff options
| author | Michal (inc0) Jastrzebski <inc007@gmail.com> | 2016-09-12 16:50:04 +0000 |
|---|---|---|
| committer | Michal (inc0) Jastrzebski <inc007@gmail.com> | 2016-09-13 16:54:30 +0000 |
| commit | 3eff4bc0d131f484def2ebcab0826f338091c545 (patch) | |
| tree | 6ceb22b960db2ad90109e516bd899df697be6cc5 /docker/macros.j2 | |
| parent | 8cd59db6f641c4ee494dae6916b30207476c4a9e (diff) | |
| download | kolla-3eff4bc0d131f484def2ebcab0826f338091c545.tar.gz kolla-3eff4bc0d131f484def2ebcab0826f338091c545.zip | |
Allow customizations of pip packages
Customizations of packages for source builds
Closes-Bug: #1623083
Change-Id: I99263af53c8f9830bcf0c6fec78194c8f7cd88c5
Diffstat (limited to 'docker/macros.j2')
| -rw-r--r-- | docker/macros.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2 index 494feb2f4..32496a921 100644 --- a/docker/macros.j2 +++ b/docker/macros.j2 @@ -12,3 +12,8 @@ {%- endif %} {%- endif %} {%- endmacro %} + + +{% macro install_pip(packages) %} +RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt {% for package in packages %}{{ package }} {% endfor %} +{% endmacro %} |
