diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28d51c4afe3c272631425ad253ae669574149bc2..1b31b3149522036a1039b3d1a6e0f6f90067e29d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,17 +1,14 @@
-image: python:3.9-slim-buster
-
 stages:
   - qc
   - test
 
 qc_1:
   stage: qc
-
+  image: python:3.9-slim-buster
   before_script:
     - pip install -r requirements.txt
     - pip install -r requirements_dev.txt
     - pip install -e .
-    
   script:
     - flake8 src/ setup.py
     - coverage run --source src/ -m pytest
@@ -20,16 +17,7 @@ qc_1:
 
 test_1:
   stage: test
-
-  before_script:
-    - pip install -r requirements.txt
-    - pip install -r requirements_dev.txt
-    - pip install -e .
-    - apt update -y
-    - apt install wget -y
-    - wget -qO- https://get.nextflow.io | bash
-    - nextflow self-update
-
+  image: nextflow/nexflow:21.10.3
   script:
     - nextflow main.nf