aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJames McCarthy <james.m.mccarthy@oracle.com>2017-02-17 15:11:04 +0000
committerJames McCarthy <james.m.mccarthy@oracle.com>2017-02-17 15:47:16 +0000
commit4d2cffbd893fe6caa17c43277d21a169a4bfc0b6 (patch)
tree0c7fd5a91183f3925ffe928d5c4c72ea591bfe8b /docker
parent5c7427ccc980af7e857c92d76630a191a7c91fb7 (diff)
downloadkolla-4d2cffbd893fe6caa17c43277d21a169a4bfc0b6.tar.gz
kolla-4d2cffbd893fe6caa17c43277d21a169a4bfc0b6.zip
Add helm_repository_source_install_python_pip block to helm-repository Dockerfile
Allow overriding the pip installation so that it can be easily customised if needed. Change-Id: Ib60e2e26841d011aef7fdf1fab936bcdc79eb336
Diffstat (limited to 'docker')
-rw-r--r--docker/helm-repository/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/helm-repository/Dockerfile.j2 b/docker/helm-repository/Dockerfile.j2
index eba2ab3b5..55505e89b 100644
--- a/docker/helm-repository/Dockerfile.j2
+++ b/docker/helm-repository/Dockerfile.j2
@@ -34,9 +34,11 @@ ENV helm_address 0.0.0.0
{% endif %}
{{ macros.install_packages(helm_repo_packages | customizable("packages")) }}
+{% block helm_repository_source_install_python_pip %}
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
&& rm get-pip.py
+{% endblock %}
RUN pip install pyyaml