diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed5c7f45c9b87db555ff86800bf5f30b996106d3..2f4f3ca4b36dcd3b2e7496634eaacbc1831681ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,8 @@ build:
     <<: *global_tag_def
     stage: build
     script:
-        - python3 -m ensurepip --upgrade
+        - wget https://bootstrap.pypa.io/get-pip.py
+        - python3 get-pip.py
         - python3 -m pip install .
 
 test: