PMExtra / sentry-auth-ldap

A Sentry extension to add an LDAP server as an authention source.
Apache License 2.0
27 stars 7 forks source link

如何安装你这个版本? #15

Closed Zian502 closed 10 months ago

Zian502 commented 10 months ago

!/bin/bash

requirements=( 'sentry-auth-ldap>=23.6.0'

You can add other packages here, just like requirements.txt

)

Install the dependencies of ldap

apt-get update apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev

pip install ${requirements[@]}

Clean up to shrink the image size

apt-get purge -y --auto-remove build-essential rm -rf /var/lib/apt/lists/*

Support ldap over tls (ldaps://) protocol

mkdir -p /etc/ldap && echo "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" > /etc/ldap/ldap.conf

Zian502 commented 10 months ago

有上传到 https://pypi.org/ 吗?

PMExtra commented 10 months ago
image

Please see the README