We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f40649 commit 229a777Copy full SHA for 229a777
.devcontainer/Dockerfile
@@ -1,11 +1,12 @@
1
FROM mcr.microsoft.com/vscode/devcontainers/base:1-focal
2
3
# install aws
4
-RUN apt-get update && \
5
- apt-get install -y unzip python3-pip && \
6
- pip3 install --no-cache-dir --upgrade awscli && \
7
- apt-get clean && \
8
- rm -rf /var/lib/apt/lists/*
+RUN SYSTEM_ARCH=$(uname -m) \
+ && curl "https://awscli.amazonaws.com/awscli-exe-linux-${SYSTEM_ARCH}.zip" -o "awscliv2.zip" \
+ && unzip awscliv2.zip \
+ && aws/install \
+ && aws --version \
9
+ && rm -rf aws
10
11
# install terraform
12
ENV TERRAFORM_VERSION=1.5.1
0 commit comments