diff --git a/bob/devtools/data/gitlab-ci/nightlies.yaml b/bob/devtools/data/gitlab-ci/nightlies.yaml
index 2f45e255df21832decb49c3443827fed2eac340e..a932bb97e93ed5a8f742568d207b29393dd920c9 100644
--- a/bob/devtools/data/gitlab-ci/nightlies.yaml
+++ b/bob/devtools/data/gitlab-ci/nightlies.yaml
@@ -40,21 +40,24 @@ stages:
     - bdt ci nightlies -vv order.txt
     - bdt ci clean -vv
 
-build_linux_36:
+.build_linux_template:
   extends: .build_template
-  variables:
-    PYTHON_VERSION: "3.6"
   tags:
     - docker
+  image: docker.idiap.ch/bob/docker-images/c3i-linux-64
+
+
+build_linux_36:
+  extends: .build_linux_template
+  variables:
+    PYTHON_VERSION: "3.6"
   cache:
     key: 'build-py36'
 
 build_linux_37:
-  extends: .build_template
+  extends: .build_linux_template
   variables:
     PYTHON_VERSION: "3.7"
-  tags:
-    - docker
   cache:
     key: 'build-py37'