perf: 修改依赖包

pull/11076/head
ibuler 2023-07-25 10:53:14 +08:00
parent a20b210514
commit 6478727cd2
2 changed files with 2 additions and 7 deletions

View File

@ -82,13 +82,11 @@ RUN set -ex \
WORKDIR /tmp/build
COPY ./requirements ./requirements
ARG ANSIBLE_CORE_VERSION=2.14.1
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 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
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver

View File

@ -2,7 +2,7 @@
cython==3.0.0
aiofiles==23.1.0
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-runner==2.3.3
asn1crypto==1.5.1
@ -108,8 +108,7 @@ websockets==11.0.3
# Auth
python-ldap==3.4.3
ldap3==2.9.1
#django-radius==1.5.0
git+https://github.com/robgolding/django-radius@develop#egg=django-radius
django-radius@https://github.com/ibuler/django-radius/archive/refs/tags/1.5.0.zip
django-cas-ng==4.3.0
python-cas==1.6.0
django-auth-ldap==4.4.0
@ -121,8 +120,6 @@ kubernetes==27.2.0
# DB requirements
mysqlclient==2.2.0
PyMySQL==1.1.0
pymssql==2.2.7
django-mysql==4.11.0
django-redis==5.3.0
python-redis-lock==4.0.0
pyOpenSSL==23.2.0