diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
index 862381cb235e9fb2ecf16a7f0e1f3c5746ddab08..b49b1e79ae607198c5e5cf5bec5c9b020b09988a 100644
--- a/debian/gitlab-ci.yml
+++ b/debian/gitlab-ci.yml
@@ -337,7 +337,10 @@ test:ubuntu-20.04:
 
 test:archlinux:
     extends: .test_template
-    image: archlinux:latest
+    image:
+        name: archlinux:latest
+        # The entrypoint is necessary to avoid the "shell not found" error
+        entrypoint: ["/usr/bin/bash", "-c"]
     # Do not use the global before_script because it is only for Debian based
     # distros
     before_script: