diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 959ce41a8dabbc524d6ebc7392b7df4013a3c041..debc25a90e5ecc0e2020e344ed54839d145f4315 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ build:
   stage: deploy
   tags: ["ns4.shore.co.il"]
   script:
-    # yamllint disable-line rule:line-length
+    # yamllint disable rule:line-length
     - cid="$(basename "$(dirname "$(awk '/hostname/ {print $4}' /proc/1/mountinfo)")")"
     - docker pull registry.shore.co.il/ci-images:python3
     - >-
@@ -19,4 +19,4 @@ build:
       --workdir "$PWD"
       registry.shore.co.il/ci-images:python3
       /bin/sh -xc
-      "pipenv --python=python3 install && pipenv run clean && pipenv run build"
+      "CFLAGS='-I${PREFIX}/include/python3.11/cpython' pipenv --python=python3 install && pipenv run clean && pipenv run build"