diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b124615eda500b761f053e71df50227831d3b4a..be740fc8d3accdc55e8f8e54c880ea16ac81a69f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ stages:
 
 .install_requirements: &install_requirements
   - apt-get -qq update
-  - apt-get -y install curl pip
+  - apt-get -y install curl pip libldap2-dev
   - python3 -m pip install --upgrade pip
   - pip install poetry
   - poetry install --no-interaction