diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02b2edc9288861c32ca0ba40b386f3794bd8c79f..2e21653d760e5c2c65a74fb4f72b8046dd3b3e63 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ stages:          # List of stages for jobs, and their order of execution
 
 build-native:       # This job runs in the build stage, which runs first.
   stage: build
-  image: debian
+  image: debian-slim
   variables:
     CCACHE_MAXSIZE: "50M"
     GIT_STRATEGY: clone