diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 740078dd7cab49478bcebabb1564eb05ee3e2f82..92f7340aeab0e15e39860f34a5050ccd81cbb6b5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 # Official framework image. Look for the different tagged releases at:
 # https://hub.docker.com/r/library/python
-image: python:2.7
+image: python:2.7.14
 
 # Pick zero or more services to be used on all builds.
 # Only needed when using a docker container to run your tests in.
@@ -20,7 +20,7 @@ cache:
   paths:
   - ~/.cache/pip/
   - /usr/bin/python2.7
-  - /usr/local/lib/python2.7/dist-packages
+  - /usr/local/lib/python2.7/site-packages
 
 # This is a basic example for a gem or script which doesn't use
 # services such as redis or postgres