diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 049b8574f4e43e40d7d6c4e5a1e5ddd24fedddb3..b08a2725d7bd87cda6301f5e26634b20d3df4bb7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,8 @@
 # This specific template is located at:
 # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
 
+image: debian:latest
+
 stages:          # List of stages for jobs, and their order of execution
   - build
   - test
@@ -23,7 +25,6 @@ stages:          # List of stages for jobs, and their order of execution
 
 build-job:
        # This job runs in the build stage, which runs first.
-  runs-on: ubuntu-latest
   stage: build
   script:
     - echo "Compiling the code..."