diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 179c8e6036977b81b7f356b460c9ec1ba3915184..286a128314b21d3ba768ae9401c6acbba998fe97 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,8 @@
 stages:          # List of stages for jobs, and their order of execution
   - build
 
-build-job:       # This job runs in the build stage, which runs first.
+build-job: 
+  image: maven:3-jdk-8      # This job runs in the build stage, which runs first.
   stage: build
   script:
     - echo "Checking the code syntax..."