From fab089348bc8c085cfaba881ade59195e372b9d5 Mon Sep 17 00:00:00 2001 From: Thomas Schaffter Date: Mon, 2 Dec 2024 14:10:44 -0800 Subject: [PATCH] feat(sage-monorepo): add AWS SAM CLI to the devcontainer (ARCH-350) (#2933) --- tools/devcontainers/sage/.devcontainer/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/devcontainers/sage/.devcontainer/Dockerfile b/tools/devcontainers/sage/.devcontainer/Dockerfile index 4f28f194a9..d976c3f78a 100644 --- a/tools/devcontainers/sage/.devcontainer/Dockerfile +++ b/tools/devcontainers/sage/.devcontainer/Dockerfile @@ -117,6 +117,13 @@ RUN curl -fsSL https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscl && dpkg -i /tmp/session-manager-plugin.deb \ && rm -fr /tmp/session-manager-plugin.deb +# Install AWS SAM CLI +RUN curl -Lo aws-sam-cli-linux-x86_64.zip https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip \ + && unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \ + && ./sam-installation/install \ + && rm -rf aws-sam-cli-linux-x86_64.zip sam-installation \ + && sam --version + # Install the devcontainer CLI RUN npm install -g "@devcontainers/cli@${devcontainerCliVersion}"