mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-27 19:17:01 +00:00
perf: 修改依赖包
This commit is contained in:
parent
a20b210514
commit
6478727cd2
@ -82,13 +82,11 @@ RUN set -ex \
|
|||||||
WORKDIR /tmp/build
|
WORKDIR /tmp/build
|
||||||
COPY ./requirements ./requirements
|
COPY ./requirements ./requirements
|
||||||
|
|
||||||
ARG ANSIBLE_CORE_VERSION=2.14.1
|
|
||||||
ARG PIP_MIRROR=https://pypi.douban.com/simple
|
ARG PIP_MIRROR=https://pypi.douban.com/simple
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
set -ex \
|
set -ex \
|
||||||
&& pip config set global.index-url ${PIP_MIRROR} \
|
&& pip config set global.index-url ${PIP_MIRROR} \
|
||||||
&& pip install https://github.com/jumpserver/ansible/releases/download/v${ANSIBLE_CORE_VERSION}/ansible_core-${ANSIBLE_CORE_VERSION}-py3-none-any.whl \
|
|
||||||
&& pip install -r requirements/requirements.txt
|
&& pip install -r requirements/requirements.txt
|
||||||
|
|
||||||
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver
|
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
cython==3.0.0
|
cython==3.0.0
|
||||||
aiofiles==23.1.0
|
aiofiles==23.1.0
|
||||||
amqp==5.1.1
|
amqp==5.1.1
|
||||||
#git+https://github.com/jumpserver/ansible@master#egg=ansible-core
|
ansible-core@https://github.com/jumpserver/ansible/archive/refs/tags/v2.14.1.zip
|
||||||
ansible==7.1.0
|
ansible==7.1.0
|
||||||
ansible-runner==2.3.3
|
ansible-runner==2.3.3
|
||||||
asn1crypto==1.5.1
|
asn1crypto==1.5.1
|
||||||
@ -108,8 +108,7 @@ websockets==11.0.3
|
|||||||
# Auth
|
# Auth
|
||||||
python-ldap==3.4.3
|
python-ldap==3.4.3
|
||||||
ldap3==2.9.1
|
ldap3==2.9.1
|
||||||
#django-radius==1.5.0
|
django-radius@https://github.com/ibuler/django-radius/archive/refs/tags/1.5.0.zip
|
||||||
git+https://github.com/robgolding/django-radius@develop#egg=django-radius
|
|
||||||
django-cas-ng==4.3.0
|
django-cas-ng==4.3.0
|
||||||
python-cas==1.6.0
|
python-cas==1.6.0
|
||||||
django-auth-ldap==4.4.0
|
django-auth-ldap==4.4.0
|
||||||
@ -121,8 +120,6 @@ kubernetes==27.2.0
|
|||||||
# DB requirements
|
# DB requirements
|
||||||
mysqlclient==2.2.0
|
mysqlclient==2.2.0
|
||||||
PyMySQL==1.1.0
|
PyMySQL==1.1.0
|
||||||
pymssql==2.2.7
|
|
||||||
django-mysql==4.11.0
|
|
||||||
django-redis==5.3.0
|
django-redis==5.3.0
|
||||||
python-redis-lock==4.0.0
|
python-redis-lock==4.0.0
|
||||||
pyOpenSSL==23.2.0
|
pyOpenSSL==23.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user