diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c19faa16df9095e9121522e061664d4ead855306..7e9067da9499d1ba60a591604ae0bc94065831e2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,3 @@
-image: python:latest
-
 stages:
   - test
 
@@ -27,6 +25,7 @@ cache:
 
 test:
   stage: test
+  image: mdillon/postgis
   before_script:
     # Install dependencies and create associated cache dirs
     - mkdir -p "${APT_STATE_LISTS}/partial"