Fix Docker image build

Stop the libldap linker workaround from overwriting the real shared
library, and add the missing django-recaptcha requirement.
This commit is contained in:
sajeyks 2026-09-30 14:54:38 +03:00
commit fdaf8a18a2
2 changed files with 3 additions and 1 deletions

View file

@ -19,7 +19,8 @@ RUN apk add --update --no-cache \
## For alpine 3.15 replace postgresql-dev with libpq-dev
# FIX https://github.com/python-ldap/python-ldap/issues/432
RUN echo 'INPUT ( libldap.so )' > /usr/lib/libldap_r.so
# (remove the symlink first, otherwise the echo overwrites the real libldap_r shared library)
RUN rm -f /usr/lib/libldap_r.so && echo 'INPUT ( libldap.so )' > /usr/lib/libldap_r.so
COPY requirements.txt ./

View file

@ -100,3 +100,4 @@ vine==1.1.4
cdist==5.0.1
git+https://github.com/ungleich/djangocms-multisite.git#egg=djangocms_multisite
pyotp
django-recaptcha