diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index 7db7595fc31e55d387d830ec77e8a28f2df2afa5..7bb959ebea95cd4dee7b17d87439d212fb3b5b91 100644
--- a/workbench/Dockerfile
+++ b/workbench/Dockerfile
@@ -172,7 +172,9 @@ RUN apt-get update && \
 ENV PIPX_HOME /opt/pipx
 ENV PIPX_BIN_DIR /opt/pipx/bin
 # hadolint ignore=DL3013
-RUN python3 -m pip install --no-cache-dir --break-system-packages \
+RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \
+    echo 'packaging==24.1' >> "$PIP_CONSTRAINT" && \
+    python3 -m pip install --no-cache-dir --break-system-packages \
         Glances \
         PyGObject \
         PyMySQL \