diff --git a/Dockerfile b/Dockerfile index ee11b4f0e..05272ee37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.7-slim-bullseye ENV REDIS_PASSWD=tca2022 ENV MYSQL_PASSWORD=TCA!@#2021 -ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps python3-dev default-libmysqlclient-dev locales inotify-tools gcc subversion git telnet iputils-ping vim openssh-client redis nginx unzip" +ARG EXTRA_TOOLS="gnupg curl wget jq net-tools procps python3-dev default-libmysqlclient-dev locales inotify-tools gcc subversion git telnet iputils-ping vim openssh-client redis nginx unzip libsasl2-dev libldap2-dev libssl-dev" # RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \ # && echo 'deb http://mirrors.tencent.com/debian/ bullseye main non-free contrib' > /etc/apt/sources.list \ diff --git a/server/configs/requirements.txt b/server/configs/requirements.txt index 3f5474996..81646ffcf 100644 --- a/server/configs/requirements.txt +++ b/server/configs/requirements.txt @@ -56,3 +56,7 @@ sentry-sdk==1.14.0 psutil==5.8.0 croniter==1.3.4 + +# ldap +django-auth-ldap==4.1.0 +python-ldap==3.4.3