summaryrefslogtreecommitdiff
path: root/docker/elasticsearch
diff options
context:
space:
mode:
authorGaël THEROND (Fl1nt) <gael.therond@bitswalk.com>2020-09-17 14:38:21 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2021-01-24 16:58:13 +0100
commit278893ef1d9bc8f7d013685d0676ce2458fcaaaa (patch)
tree73ef49126ce905bb42e32b4128d09b0077c88662 /docker/elasticsearch
parent6beff0cfc92f3df0ff7210d8388506a1f961a5c3 (diff)
downloadkolla-278893ef1d9bc8f7d013685d0676ce2458fcaaaa.tar.gz
kolla-278893ef1d9bc8f7d013685d0676ce2458fcaaaa.zip
Improve pip install process for offline deployment.
* "Use distribution-provided pip" * "Use python's pip module invocation method" * "Install pip earlier in order to avoid multiple installation" * "Remove pip_version variable requirement and call" (cherry picked from commit b93c40a3635fbce72e48dc29120e50484cba36ca) - fixed source type builds. - in openstack-base: install virtualenv using upper-constraints (just like in kolla-toolbox) Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/772198 Closes-bug: #1893204 Change-Id: Id0e738044a1931f9d611a7281a48ea4a593f1cf1
Diffstat (limited to 'docker/elasticsearch')
-rw-r--r--docker/elasticsearch/elasticsearch-curator/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2
index 7497163bc..55d721296 100644
--- a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2
+++ b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2
@@ -26,7 +26,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'elasticsearch-curator'
] %}
-RUN {{ macros.install_pip(elasticsearch_curator_pip_packages | customizable("pip_packages"), constraints=false, pip_version="pip3") }} \
+RUN {{ macros.install_pip(elasticsearch_curator_pip_packages | customizable("pip_packages"), constraints=false) }} \
&& mkdir -p /etc/elasticsearch-curator \
&& chown -R elasticsearch: /etc/elasticsearch-curator