File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/devcontainers/base:ubuntu
22
3- ARG TARGETARCH
4- ENV TARGETARCH=${TARGETARCH}
5-
6- # Add amd64 architecture if on arm64
7- RUN if [ "$TARGETARCH" == "arm64" ] || [ "$TARGETARCH" == "aarch64" ]; then dpkg --add-architecture amd64; fi
8-
93RUN apt-get update \
104 && export DEBIAN_FRONTEND=noninteractive \
115 && apt-get -y dist-upgrade \
@@ -15,17 +9,14 @@ RUN apt-get update \
159 jq apt-transport-https ca-certificates gnupg-agent \
1610 software-properties-common bash-completion python3-pip make libbz2-dev \
1711 libreadline-dev libsqlite3-dev wget llvm libncurses5-dev libncursesw5-dev \
18- xz-utils tk-dev liblzma-dev netcat-traditional libyaml-dev
19-
20- # Download correct AWS CLI for arch
21- RUN if [ "$TARGETARCH" = "arm64" ] || [ "$TARGETARCH" == "aarch64" ]; then \
22- wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" ; \
23- else \
24- wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" ; \
25- fi && \
12+ xz-utils tk-dev liblzma-dev netcat libyaml-dev
13+
14+ # install aws stuff
15+ RUN wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" && \
2616 unzip /tmp/awscliv2.zip -d /tmp/aws-cli && \
2717 /tmp/aws-cli/aws/install && \
28- rm /tmp/awscliv2.zip && rm -rf /tmp/aws-cli
18+ rm tmp/awscliv2.zip && \
19+ rm -rf /tmp/aws-cli
2920
3021USER vscode
3122
You can’t perform that action at this time.
0 commit comments