diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d938b4ec0a97feb3b4323b71a1b7a2b900328b5..f8b09364e85c46ad30e23fe8ee31f001c6c80f96 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ variables:
 
 prebuild:
   before_script:
-    - apt-get update && apt-get install -y pandoc python3-pip texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
+    - apt-get update && apt-get install -y python3-pip
     - python3 -m pip install poetry
     - pandoc -v
     - poetry --version