diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2805123fca6d9b02f5cff5d973f55c5de663d8ac..bdb6b58f4bf7147610943ba70315fa2d0a460a0e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,10 +18,7 @@ workflow:
   stage: build
   script:
     # Install prerequisite for git-gui and gitk
-    - env | grep -i proxy
-    - cat /etc/yum.conf
-    - sudo yum -y update
-    - sudo yum -y install tcl-devel tk-devel
+    - sudo yum -y --disablerepo=epel install tcl-devel tk-devel
     # Install recent version of python required to build meson that is a requirement for building chain of git
     - curl -s -L -o python.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/python3/-/jobs/artifacts/${PYTHON_VERSION}/download?job=${PLATFORM}
     - unzip -q python.zip