From 09191118975942006e5b869f4b2eafedddd56d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Tue, 5 May 2020 16:54:13 +0200 Subject: [PATCH] Dockerfile fix for python-ldap --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8634bcab..709062a2 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 -- GitLab