diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85b7501646a942f3a6ad2abd1a3e3077e973a793..814edbfb4fb756ec627869d7e9dd04ac823c9f73 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@ cache:
 
 linter:
   stage: test
-  image: python:3
+  image: python:3.7
 
   cache:
     paths: