diff --git a/ci/bootstrap.sh b/ci/bootstrap.sh
index 6e47a7c5ea3d668951ba4c105ed8f031a79216eb..b67820e2cdd0d90b1023efa382a25b47c3dddcca 100755
--- a/ci/bootstrap.sh
+++ b/ci/bootstrap.sh
@@ -56,6 +56,7 @@ if [ ! -d ${PREFIX} ]; then
   pyver=$(echo ${PYTHON_VERSION} | tr -d '.')
   curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/install/${ARCH}/devel-py${pyver}.txt > env.txt
   yellow_echo "[++] Bootstrapping conda installation at ${PREFIX}..."
+  run_cmd ${CONDA_FOLDER}/bin/conda clean --lock
   run_cmd ${CONDA_FOLDER}/bin/conda create --prefix ${PREFIX} --file env.txt --yes
 
   # Dirty fix to libjpeg.8 compilation issues: