diff --git a/Dockerfile b/Dockerfile index 8634bcabe3fdee9cf299974d995378b851a65a31..709062a25582343a3e49aad857d7b3a9f3427edd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,9 @@ -FROM python:3.8-slim +FROM python:3.7-slim + +# requirements to build python-ldap +RUN apt-get update && apt-get install -y \ + build-essential python3-dev libldap2-dev libsasl2-dev \ + && rm -rf /var/lib/apt/lists/* RUN mkdir /app WORKDIR /app