用于安装cloud和python3.7的Docker文件跳过了cloud,只运行python3.7步骤。FROM google/cloud-sdk:247.0.0
WORKDIR /testRUN python3 -m pip install -U pip
build映像:docker build -t test -t test .检查python3.7安装:docker run test python3 --version。输出:Python 3.7.9check gcloudsdk安装:docker run t