update all python version in the Dockerfile to 3.7 (#10841)

* update all python version in the Dockerfile to 3.7

* update ubuntu 18.04 to ubuntu 20.04
This commit is contained in:
cyw233
2020-09-11 21:33:15 +10:00
committed by GitHub
parent 136f90f87c
commit 7c11c9ce16
2 changed files with 4 additions and 4 deletions

View File

@@ -155,9 +155,9 @@ the required dependencies are installed: ::
sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev
**Ubuntu 18.04** If you have python3.6 installed alongside with python2.7, as is default on **Ubuntu 18.04 LTS**, run this command also: ::
**Ubuntu 20.04** the following command will ensure that the required dependencies are installed: ::
sudo apt-get install build-essential libssl-dev libffi-dev python3.6-dev python-pip libsasl2-dev libldap2-dev
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev python-pip libsasl2-dev libldap2-dev
otherwise build for ``cryptography`` fails.