diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 87436b0f650542ba18cf46fe258c049288532c47..ced52d4ead3e4f66cadfe23794b1f3f74c65f14a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,8 +22,8 @@ test_backend:
     - postgres:latest
   stage: test
   script:
-    - sudo apt-get update
-    - sudo apt-get install -y openjdk-8-jdk maven
+    - apt-get update
+    - apt-get install -y openjdk-8-jdk maven
     - mvn test
 
 build_war: