diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7a57bd4fb49a4c6d8b192b4b74bd5a58188888ca..6e3af199300f4bb4ba1bae9b23bdce9b196f79ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,8 @@ cache:
 
 test:
   script:
-  - apk --update add nodejs npm
+  - apt-get update -y
+  - apt-get install -y nodejs npm
   - npm install -g bower
   - bundle install --path vendor
   - bower install
@@ -16,7 +17,8 @@ test:
 
 pages:
   script:
-  - apk --update add nodejs npm
+  - apt-get update -y
+  - apt-get install -y nodejs npm
   - npm install -g bower
   - bundle install --path vendor
   - bower install