diff --git a/ci-templates/core.yml b/ci-templates/core.yml
index aa37a6932565fa2a8089b63751770213a2242725..3553a10a7b6d2f7d0f63accff1e0393b9dddc139 100644
--- a/ci-templates/core.yml
+++ b/ci-templates/core.yml
@@ -18,7 +18,7 @@ stages:
   - build
 
 before_script:
-  - apk add --update bash coreutils tar wget curl
+  - apk add --update bash coreutils tar wget
   - docker login tecnalia-docker-dev.artifact.tecnalia.com -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
 
 include:
diff --git a/ci-templates/lfs-pull.yml b/ci-templates/lfs-pull.yml
index 554087253bb8f83e430e9102a7b0bca500cc7e11..245ba0759ee2862ca873eba8c20463bc8e9c7237 100644
--- a/ci-templates/lfs-pull.yml
+++ b/ci-templates/lfs-pull.yml
@@ -4,7 +4,8 @@
 
 .industrial_ci:
   variables:
-    BEFORE_INIT: "bash <(curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh);\
+    BEFORE_INIT: "apt-get update &> /dev/null && apt-get install -q -y curl; \
+                bash <(curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh);\
                 apt install -qq -y git-lfs; \
                 git config --global credential.helper store; \
                 echo https://$ARTIFACT_CI_USER:$ARTIFACT_CI_TOKEN@artifact.tecnalia.com > ~/.git-credentials ;"