From adec71fdbc9e4adfc215efb71a99ac16b4b92da9 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 31 Aug 2024 18:25:28 +0300 Subject: [PATCH] Workbench: Revert back to AWS CLI v1. Until https://github.com/aws/aws-cli/issues/8342 is resolved, AWS CLI v2 can't be used with Python 3.12. But v1 is. --- workbench/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/workbench/Dockerfile b/workbench/Dockerfile index f43fc54..7db7595 100644 --- a/workbench/Dockerfile +++ b/workbench/Dockerfile @@ -172,16 +172,13 @@ RUN apt-get update && \ ENV PIPX_HOME /opt/pipx ENV PIPX_BIN_DIR /opt/pipx/bin # hadolint ignore=DL3013 -RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \ - echo 'packaging==24.0' >> "$PIP_CONSTRAINT" && \ - echo 'ruamel.yaml.clib==0.2.8' >> "$PIP_CONSTRAINT" && \ - python3 -m pip install --no-cache-dir --break-system-packages \ - https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \ +RUN python3 -m pip install --no-cache-dir --break-system-packages \ Glances \ PyGObject \ PyMySQL \ 'ansible>=10' \ ansible-runner \ + awscli \ awslogs \ bcrypt \ black \ -- GitLab