diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 945879a61dbb94f3657fef30ce8004714a1bb22d..3931b4d51ffcb2589ca4522c49071f5a2e023c90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,7 @@
 stages:
   - build
-  - build-lmod
 
-build:
+build-venv:
   stage: build
   image:
     name: gcr.io/kaniko-project/executor:debug
@@ -15,7 +14,7 @@ build:
     - if: $CI_COMMIT_TAG
 
 build-lmod:
-  stage: build-lmod
+  stage: build
   image:
     name: gcr.io/kaniko-project/executor:debug
     entrypoint: [""]
diff --git a/lmod/Dockerfile b/lmod/Dockerfile
index 82750734124b357896cf11a366039450f078e5a2..0557bc08151120310e34ab8d1b258013fb92c174 100644
--- a/lmod/Dockerfile
+++ b/lmod/Dockerfile
@@ -18,7 +18,7 @@ RUN dnf -yq update && \
 
 # Install python packages
 COPY files/pip_packages.txt /tmp/pip_packages.txt
-RUN pip install -r /tmp/pip_packages.txt
+RUN pip3 install -r /tmp/pip_packages.txt
 
 # Download and install curlftpfs
 RUN mkdir -p /opt/apps/install