diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fe53dbceb48174bde179d12302429739e072dddf..738d711710ab4d029d1a7a4f936f8a4ed11bf1ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,8 +31,7 @@ stages:
     - docker
   image: quay.io/condaforge/linux-anvil-cos7-x86_64
   before_script:
-    - rm -f ~/.condarc
-    - rm -rf ~/.conda
+    - rm -fv ~/.condarc
     - python3 ./bob/devtools/bootstrap.py -vv build
     - source ${CONDA_ROOT}/etc/profile.d/conda.sh
     - conda activate base