diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e4c21a9ffbf3e2fc91f718abca8929da3db5764..39c00d9604055e9a8174f64049c857a19f71aa5c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,7 @@
 default:
     image: rboman/waves-py3:2020.3
     before_script:
-        - apt-get update -y
-        - apt-get install -y python3-pip
+        - python3 -m ensurepip --upgrade
         - python3 -m pip install scipy==1.11.3 --user
         - source /opt/intel/mkl/bin/mklvars.sh intel64
         - source /opt/intel/tbb/bin/tbbvars.sh intel64