diff --git a/17.0.Dockerfile b/17.0.Dockerfile
index 061572759094355112384281ffc2fb39fcdb3c84..9b107da06277d3fb35f9cc7df3eca67cb2ffd846 100644
--- a/17.0.Dockerfile
+++ b/17.0.Dockerfile
@@ -1,7 +1,7 @@
 FROM python:3.11-slim-bookworm AS builder
 RUN set -x; \
         apt-get update &&\
-        apt-get install -y --no-install-recommends build-essential libfreetype-dev libldap2-dev libpq-dev libsasl2-dev libxml2-dev libxslt1-dev &&\
+        apt-get install -y --no-install-recommends build-essential git libfreetype-dev libldap2-dev libpq-dev libsasl2-dev libxml2-dev libxslt1-dev &&\
         pip install wheel &&\
         pip wheel --wheel-dir=/svc/wheels -r https://raw.githubusercontent.com/oca/OCB/17.0/requirements.txt &&\
         # astor required by base_view_inheritance_extension