diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36ae7212852941236db68fb3077e20ee09082285..8ccd81a67c828f75046792cc62804bcf943b0dc8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ build:
   tags:
     - docker
   script:
-    - apt-get install python-numpy
+    - apt-get update && apt-get install python-numpy
     - pip install --upgrade Cython
     - pip install --upgrade numpy
     - pip install --upgrade pip setuptools wheel