diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b5780216620f1fdd345edbc026dd635a9cdae34a..33f69c8a58a17f76b2df7da84c82ca280cd6fa9d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,11 @@
 image: alpine:3.14
 
 build-dois-csv:
+  before_script:
+    - apt update
+    - apt install -y python3
+    - apt install -y git
   script:
-    - apt-get install -y python3
     - pip install pandas
     - pip install requests
     - pip install matplotlib