diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bf331a4ea51d2651210162541dbf8a2fa6907560..4bbc1e0d0ccd6916c4175d0d9404b9779b80eff3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,13 +56,11 @@ list_dependencies:
       - public
 
 linting:
-  image: nexus.engageska-portugal.pt/ska-docker/tango-builder:latest
-  tags:
-    - docker-executor
   stage: linting
   script:
-    - cd docker
-    - make lint
+    - pip3 install pylint2junit
+    - pylint --output-format=parseable cspse | tee ./build/code_analysis.stdout
+    - pylint --output-format=pylint2junit.JunitReporter cspse > ./build/reports/linting.xml;
   when: always
   artifacts:
     paths: