【发布时间】:2019-09-30 02:03:21
【问题描述】:
我正在使用 docker build . 命令构建一个 dockerfile。在构建时,我遇到以下错误:
Downloading/unpacking requests
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement requests
No distributions at all found for requests
这里是 dockerfile:
FROM jonasbonno/rpi-grovepi
RUN pip install requests
RUN git clone https://github.com/keyban/fogservice.git #update
ENTRYPOINT ["python"]
CMD ["fogservice/service.py"]
可能是什么问题?
【问题讨论】:
-
你在代理后面吗?
-
不,我不是。我可以在浏览器中正常打开网址。
标签: git docker pip dockerfile