aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-13 20:07:01 +0000
committerGerrit Code Review <review@openstack.org>2016-09-13 20:07:01 +0000
commit16e79775ed9843b22a1681d0c7d520328bb63d27 (patch)
treee4558e22d55bbf547ed2a6e9d21c00dac7ad36a1 /docker/macros.j2
parent292baae4ffee1b4c62521b1473a45b91b35352d0 (diff)
parent3eff4bc0d131f484def2ebcab0826f338091c545 (diff)
downloadkolla-16e79775ed9843b22a1681d0c7d520328bb63d27.tar.gz
kolla-16e79775ed9843b22a1681d0c7d520328bb63d27.zip
Merge "Allow customizations of pip packages"
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j25
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 %}