mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
ci: updated base-image
This commit is contained in:
@@ -21,18 +21,6 @@ eval "$(pyenv virtualenv-init -)"
|
||||
pyenv install ${version}
|
||||
pyenv global ${version}
|
||||
|
||||
# install python build dependencies
|
||||
apt-get install -y \
|
||||
make build-essential libssl-dev zlib1g-dev \
|
||||
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
|
||||
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
||||
|
||||
# alias
|
||||
rm /usr/local/bin/pip | true
|
||||
rm /usr/local/bin/python | true
|
||||
ln -s /usr/local/bin/pip${version} /usr/local/bin/pip
|
||||
ln -s /usr/bin/python${version} /usr/local/bin/python
|
||||
|
||||
# verify
|
||||
python_version=$(python -V)
|
||||
if [[ $python_version =~ "Python ${version}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user