diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index 02f87df38c8335a15997e308f6c364937ae22445..5d0d1ab42f695d56f81f8c1e5d281f909e54a623 100644
--- a/workbench/Dockerfile
+++ b/workbench/Dockerfile
@@ -174,7 +174,6 @@ 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 \
-        https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \
         Glances \
         PyGObject \
         PyMySQL \
@@ -245,6 +244,7 @@ RUN python3 -m pip install --no-cache-dir --break-system-packages \
     && \
     pipx install chalice && \
     pipx install curator-opensearch && \
+    pipx install https://github.com/aws/aws-cli/archive/refs/heads/v2.zip && \
     rm -rf /tmp/* /var/tmp/* ~/.cache/*
 ENV COREPACK_HOME=/usr/local/share/corepack
 # hadolint ignore=DL3016