diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e49ba17c4ce3ab11c5c00fae596b10d40d4e4416..63c402c825cb1c2a82a5edb2052b2f7e4ccd1859 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,8 @@ tests:
       alias: db
   image: python:3.9-alpine3.15
   before_script:
-    - apk add python3-dev build-base poetry
+    - apk add python3-dev build-base curl
+    - curl -sSL https://install.python-poetry.org | python3 -
     - poetry install
   script:
     - poetry run pytest