diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc451b58fa06624a1f3610eb2bd59d19042ff6ee..8c774c439efe188cb90bd38acdb4757ca8938501 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,10 +15,8 @@ cache:
 bundle_and_test:
   stage: bundle
   before_script:
-    - apt-get update
-    - apt-get install -y curl
-    - curl -sL https://deb.nodesource.com/setup_10.x | bash -
-    - apt-get install -y nodejs
+    - apt-get --quiet update
+    - apt-get --quiet --yes install nodejs
     - npm install -g @apidevtools/swagger-cli
 
   script:
@@ -42,10 +40,8 @@ bundle_and_test:
 pages:
   stage: deploy
   before_script:
-    - apt-get update
-    - apt-get install -y curl
-    - curl -sL https://deb.nodesource.com/setup_10.x | bash -
-    - apt-get install -y nodejs
+    - apt-get --quiet update
+    - apt-get --quiet --yes install nodejs
     - npm install swagger-ui-dist@3.22.1
   script:
     - cp -rp node_modules/swagger-ui-dist/* ./public