diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 58e330fc817ff067fbc417e162be2ca36217b54f..5637de17097f9c25d101e82639fa063be23734ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,8 +17,9 @@ bundle_and_test:
   stage: bundle
   before_script:
     - apt install -y curl
-    - curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
+    - curl -sL https://deb.nodesource.com/setup_10.x | -E bash -
     - apt install -y nodejs npm
+    - apt install -y build-essential
     - npm install -g @apidevtools/swagger-cli
 
   script: