diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 817a9200786fd45c140418a525c54082a1f638d1..57dc237816dbc88d5b4b1544e752829c9f31a310 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -91,6 +91,7 @@ test-back:
   before_script:
     - python3 -m venv venv/
     - source ./venv/bin/activate
+    - apt-get update && apt-get install libgl1
     - pip install -r ./backend/requirements.txt
     - pip install pytest
   script: