diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3a1f8c7d1d590f9ce20b8759d307233ba8d137ce..b964dafd1ccc17821cc5ebbc1621f29e04ee2240 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -150,6 +150,7 @@ build-testenv:
   tags: [cached-dind]
   image: docker:19.03
   stage: setup
+  timeout: 2h
   needs: []
   script:
       - df -h