diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2f47364afecd1bc0eabbe9b130061c403d7ebda6..ee0077e8bce65314232018439fc1324b2c4d3f91 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 # This file is a template, and might need editing before it works on your project.
 # Official language image. Look for the different tagged releases at:
 # https://hub.docker.com/r/library/python/tags/
-image: python:latest
+image: python:3.8
 
 # Change pip's cache directory to be inside the project directory since we can
 # only cache local items.