mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-29 08:17:17 +00:00
perf: using mirror
This commit is contained in:
parent
e14e5b523a
commit
ef4f1ddb74
@ -88,8 +88,7 @@ ARG PIP_MIRROR=https://pypi.douban.com/simple
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
set -ex \
|
||||
&& pip config set global.index-url ${PIP_MIRROR} \
|
||||
&& pip install poetry==1.5.1 \
|
||||
&& pip install poetry==1.5.1 -i ${PIP_MIRROR} \
|
||||
&& poetry install --only=main
|
||||
|
||||
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver
|
||||
|
1383
poetry.lock
generated
1383
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -166,6 +166,11 @@ pymssql = "2.2.7"
|
||||
psycopg2 = "2.9.6"
|
||||
ucloud-sdk-python3 = "0.11.50"
|
||||
|
||||
[[tool.poetry.source]]
|
||||
name = "tsinghua"
|
||||
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
|
||||
priority = "primary"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
Loading…
Reference in New Issue
Block a user