You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2021/03/10 15:25:39 UTC
[kudu] branch master updated: [KUDU-3255] fix failure on CentOS7
docker build
This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new de5378b [KUDU-3255] fix failure on CentOS7 docker build
de5378b is described below
commit de5378ba4b454e9b696f6dbee8d4e3f95bf2a5a6
Author: Hongjiang Zhang <ho...@ebay.com>
AuthorDate: Wed Mar 10 11:13:53 2021 +0800
[KUDU-3255] fix failure on CentOS7 docker build
"https://bootstrap.pypa.io/2.7/get-pip.py"
is replaced by
"https://bootstrap.pypa.io/pip/2.7/get-pip.py"
Change-Id: I20048060e0ef68b8cb6de366b19aa97e7903f1a4
Reviewed-on: http://gerrit.cloudera.org:8080/17169
Tested-by: Kudu Jenkins
Reviewed-by: Grant Henke <gr...@apache.org>
---
docker/bootstrap-python-env.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker/bootstrap-python-env.sh b/docker/bootstrap-python-env.sh
index 570d3e6..c3a5e78 100755
--- a/docker/bootstrap-python-env.sh
+++ b/docker/bootstrap-python-env.sh
@@ -37,7 +37,7 @@ function install_python_packages() {
if [[ "$PYTHON_MAJOR" == "2" && "$PYTHON_MINOR" == "7" ]]; then
# The standard get-pip.py URL no longer supports Python 2.7,
# so we need to use the version specific one.
- curl https://bootstrap.pypa.io/2.7/get-pip.py | python
+ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python
else
# Use a stable version of pip that works with Python 2 and 3.
curl https://bootstrap.pypa.io/get-pip.py | python - "pip < 20.3.4"