从Docker中的Ubuntu16.04
1 | # 拉取镜像 |
在更新容器内的操作系统
1 | # 更新源 |
安装依赖
1 | apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl vim zip unzip wget |
更新openssl版本至1.1.1c
1 |
|
安装Git
1 | apt-get install git -y |
安装 pyenv 方便安装Python3.7.4
1 | curl https://pyenv.run | bash |
安装 Jupyter lab
1 | pip install jupyterlab |