mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
perf: 修改依赖写法,避免 github 认错
This commit is contained in:
@@ -1 +0,0 @@
|
||||
gcc make python3-dev python3 libffi-dev mariadb-dev libc-dev krb5-dev openldap-dev jpeg-dev linux-headers sshpass openssh-client build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec
|
2
requirements/apk_pkg.sh
Normal file
2
requirements/apk_pkg.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
apk add gcc make python3-dev python3 libffi-dev mariadb-dev libc-dev krb5-dev openldap-dev jpeg-dev linux-headers sshpass openssh-client build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec
|
5
requirements/deb_pkg.sh
Normal file
5
requirements/deb_pkg.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
apt install \
|
||||
g++ make iputils-ping default-libmysqlclient-dev libpq-dev libffi-dev \
|
||||
libldap2-dev libsasl2-dev sshpass pkg-config libxml2-dev libxmlsec1-dev \
|
||||
libxmlsec1-openssl libaio-dev freetds-dev
|
@@ -1 +0,0 @@
|
||||
g++ make iputils-ping default-libmysqlclient-dev libpq-dev libffi-dev libldap2-dev libsasl2-dev sshpass pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl libaio-dev freetds-dev
|
@@ -1,9 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||
PROJECT_DIR=$(dirname "$BASE_DIR")
|
||||
|
||||
echo "1. 安装依赖"
|
||||
brew install libtiff libjpeg webp little-cms2 openssl gettext git git-lfs mysql libxml2 libxmlsec1 pkg-config
|
||||
|
||||
echo "下载 IP 数据库"
|
||||
echo "2. 下载 IP 数据库"
|
||||
ip_db_path="${PROJECT_DIR}/apps/common/utils/geoip/GeoLite2-City.mmdb"
|
||||
wget "https://download.jumpserver.org/files/GeoLite2-City.mmdb" -O "${ip_db_path}"
|
||||
|
||||
echo "3. 安装依赖的插件"
|
||||
git lfs install
|
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "安装依赖"
|
||||
brew install libtiff libjpeg webp little-cms2 openssl gettext git git-lfs mysql libxml2 libxmlsec1 pkg-config
|
||||
|
||||
echo "安装依赖的插件"
|
||||
git lfs install
|
@@ -49,7 +49,7 @@ olefile==0.44
|
||||
openapi-codec==1.3.2
|
||||
paramiko==2.7.2
|
||||
passlib==1.7.1
|
||||
Pillow==9.0.0
|
||||
Pillow==9.0.1
|
||||
pyasn1==0.4.8
|
||||
pycparser==2.19
|
||||
pycryptodome==3.12.0
|
||||
|
2
requirements/rpm_pkg.sh
Normal file
2
requirements/rpm_pkg.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
yum -y install gcc-c++ sshpass mariadb-devel openldap-devel libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel
|
@@ -1 +0,0 @@
|
||||
gcc-c++ sshpass mariadb-devel openldap-devel libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel
|
Reference in New Issue
Block a user