forked from ungleich-public/dynamicweb
Dockerfile: drop unused openldap-dev and libldap_r workaround
This commit is contained in:
parent
5e4ce6713b
commit
392ff8e459
1 changed files with 0 additions and 5 deletions
|
|
@ -5,7 +5,6 @@ WORKDIR /usr/src/app
|
|||
RUN apk add --update --no-cache \
|
||||
git \
|
||||
build-base \
|
||||
openldap-dev \
|
||||
python3-dev \
|
||||
libpq-dev \
|
||||
jpeg-dev \
|
||||
|
|
@ -16,10 +15,6 @@ RUN apk add --update --no-cache \
|
|||
libffi-dev \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
# FIX https://github.com/python-ldap/python-ldap/issues/432
|
||||
# (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 ./
|
||||
|
||||
# Pillow seems to need LIBRARY_PATH set as follows: (see: https://github.com/python-pillow/Pillow/issues/1763#issuecomment-222383534)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue