From 1f4ad15f51e75aa3ddc2d597fb2d1b152592a549 Mon Sep 17 00:00:00 2001 From: ChenJianAgent Date: Fri, 17 Apr 2026 23:46:18 +0000 Subject: [PATCH] feat: install aws cli v2 in dockerfile --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 59f8bd9c..c0de3bbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,14 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \ apt-get update && apt-get install -y --no-install-recommends gh && \ rm -rf /var/lib/apt/lists/* +# Install AWS CLI v2 +RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip unzip curl && \ + curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ + unzip awscliv2.zip && \ + ./aws/install && \ + rm -rf aws awscliv2.zip && \ + apt-get purge -y python3-pip unzip curl && rm -rf /var/lib/apt/lists/* + RUN useradd -m -s /bin/bash -u 1000 agent RUN mkdir -p /home/agent/.local/share/kiro-cli /home/agent/.kiro && \ chown -R agent:agent /home/agent