diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0a69f4186fd7f92a810cd16ded6e162e11154fb..e0ed74d0b384baa2c0038cd3ae6fd84d38fdbc71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,7 @@ cta_rpm:
     - cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/* /etc/yum.repos.d/
     - yum install -y gcc-c++ cmake make rpm-build
     - yum -y install yum-plugin-priorities
+    - echo "Adding Ceph repo"; echo -e "[ceph-internal]\nname=ceph-internal\nenabled=1\nbaseurl=http://castorwww.web.cern.ch/castorwww/repos/ceph/\npriority=4" > /etc/yum.repos.d/ceph-internal.repo
     - yum-builddep --nogpgcheck -y build_srpm/RPM/SRPMS/*
     - mkdir build_rpm
     - cd build_rpm