api_automation_test
api_automation_test copied to clipboard
docker-compose up启动报错
[+] Building 9.2s (8/9) docker:default => [api_automation_test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [api_automation_test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 641B 0.0s => [api_automation_test internal] load metadata for docker.io/centos/python-36-centos7:latest 2.1s => [api_automation_test 1/5] FROM docker.io/centos/python-36-centos7:latest@sha256:ac50754646f0d37616515fb30467d8743fb12954260ec36c9ec 0.0s => [api_automation_test internal] load build context 0.0s => => transferring context: 75B 0.0s => CACHED [api_automation_test 2/5] COPY ./requirements.txt /api_automation_test/ 0.0s => CACHED [api_automation_test 3/5] WORKDIR /api_automation_test 0.0s => ERROR [api_automation_test 4/5] RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir --upgrade pip && pip 7.1s
> [api_automation_test 4/5] RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir --upgrade pip && pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r /api_automation_test/requirements.txt --default-timeout=200 --ignore-installed && yum -y install java-1.8.0-openjdk && java -version:
0.400 Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852) - skipping
0.401 Requirement already up-to-date: pip in /opt/app-root/lib/python3.6/site-packages
1.943 Collecting xlrd==1.2.0 (from -r /api_automation_test/requirements.txt (line 1))
2.017 Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/xlrd/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852) - skipping
2.017 Could not find a version that satisfies the requirement xlrd==1.2.0 (from -r /api_automation_test/requirements.txt (line 1)) (from versions: )
2.017 No matching distribution found for xlrd==1.2.0 (from -r /api_automation_test/requirements.txt (line 1))
failed to solve: process "/bin/sh -c pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir --upgrade pip && pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple --no-cache-dir -r /api_automation_test/requirements.txt --default-timeout=200 --ignore-installed && yum -y install java-1.8.0-openjdk && java -version" did not complete successfully: exit code: 1