[baseimage]: pin down pip to 20.3.3 (#6539)
With the release of pip21.0 (https://pypi.org/project/pip/#history) on branch 201911 stretch build is failing with below error logs: As per https://pypi.org/project/pip/ pip21.0 does not not support python2 from Jan 2021. To fix this tag the pip to 20.3.3 version which was being used last and is working fine. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This commit is contained in:
parent
a87f56cce9
commit
01871c46dc
@ -400,7 +400,7 @@ if [[ $CONFIGURED_ARCH == amd64 ]]; then
|
||||
fi
|
||||
|
||||
## docker-py is needed by Ansible docker module
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install 'pip==20.3.3'
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install 'docker-py==1.6.0'
|
||||
## Note: keep pip installed for maintainance purpose
|
||||
|
||||
|
Reference in New Issue
Block a user