优化Dockerfile,下载jingrow-bench增加重试和超时
This commit is contained in:
parent
fc706dfa66
commit
3119ce9fcf
@ -185,7 +185,7 @@ ENV PATH "$PATH:/home/jingrow/.local/bin"
|
||||
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python${PYTHON_VERSION} get-pip.py `#stage-pre-pip`
|
||||
ENV {{ pg.get_dependency_version("bench", True) }}
|
||||
RUN --mount=type=cache,target=/home/jingrow/.cache,uid=1000,gid=1000 python${PYTHON_VERSION} -m pip install --upgrade git+http://git.jingrow.com:3000/jingrow/bench.git `#stage-bench-bench`
|
||||
RUN --mount=type=cache,target=/home/jingrow/.cache,uid=1000,gid=1000 python${PYTHON_VERSION} -m pip install --upgrade --resume-retries 5 --timeout 100 git+http://git.jingrow.com:3000/jingrow/bench.git `#stage-bench-bench`
|
||||
|
||||
RUN --mount=type=cache,target=/home/jingrow/.cache,uid=1000,gid=1000 python${PYTHON_VERSION} -m pip install Jinja2~=3.0.3
|
||||
RUN --mount=type=cache,target=/home/jingrow/.cache,uid=1000,gid=1000 python${PYTHON_VERSION} -m pip install --upgrade setuptools
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user