diff options
Diffstat (limited to 'docker/macros.j2')
| -rw-r--r-- | docker/macros.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2 index 5386dca75..aee933e7b 100644 --- a/docker/macros.j2 +++ b/docker/macros.j2 @@ -21,6 +21,12 @@ {% endif %} {%- endmacro %} +{% macro get_pip() %} +RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ + && python get-pip.py \ + && rm get-pip.py +{% endmacro %} + {% macro install_pip(packages, constraints = true, pip_version = pip) %} {%- if packages is sequence and packages|length > 0 -%} {%- if not pip_version -%} |
