diff --git a/Dockerfile.bullseye b/Dockerfile.bullseye
index d1bf84289cfdbe12f6d21944eebecce9b1c44338..7fb8cfdb3ff776a8b40a88d90f160c8f81a9ff17 100644
--- a/Dockerfile.bullseye
+++ b/Dockerfile.bullseye
@@ -7,7 +7,7 @@ RUN apt-get -qq update && \
         sqlite3 locales-all git \
         python3 python3-venv python3-coverage python3-ldap3 python3-flask python3-flask-sqlalchemy python3-flask-migrate \
         python3-pip python3-qrcode python3-fido2 python3-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
-        git-buildpackage debhelper && \
+        git-buildpackage debhelper dh-python && \
     pip3 install pylint html5validator twine build --upgrade && \
     apt-get -qq clean
 
diff --git a/Dockerfile.buster b/Dockerfile.buster
index db07ab19e325865ad57320aad03334c224ce9d19..21b494e9f9aa4857aa77f28d3182dcd20d436d07 100644
--- a/Dockerfile.buster
+++ b/Dockerfile.buster
@@ -6,8 +6,8 @@ RUN apt-get -qq update && \
         lsb-release openjdk-11-jre-headless curl \
         sqlite3 locales-all git \
         python3 python3-venv python3-coverage python3-ldap3 python3-flask python3-flask-sqlalchemy python3-flask-migrate \
-        python3-pip python3-qrcode python3-fido2 python3-flask-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
-        git-buildpackage debhelper && \
+        python3-pip python3-qrcode python3-fido2 python3-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
+        git-buildpackage debhelper dh-python && \
     pip3 install pylint html5validator twine build --upgrade && \
     apt-get -qq clean