File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,17 @@ RUN sudo apt-get update -y \
77RUN rustup update \
88 && rustup target add aarch64-unknown-linux-gnu
99
10+ # x86_64 to arm64 support.
1011RUN sudo apt-get install -y \
1112 qemu \
1213 binfmt-support \
1314 qemu-user-static
1415
15- RUN cd /tmp \
16- && curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip > aws-sam-cli-linux-x86_64.zip \
17- && unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \
18- && rm -rf aws-sam-cli-linux-x86_64.zip \
19- && sudo ./sam-installation/install
16+ # Easy way to install node, ruby, and php
17+ RUN apt-get -y install nodejs ruby php php-common
18+
19+ # Easy way to install Python.
20+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
21+
22+ # Multi-platform SAM CLI. https://github.com/aws/aws-sam-cli/issues/3908
23+ RUN apt-get install -y pip && pip install aws-sam-cli
Original file line number Diff line number Diff line change 55 },
66 "features" : {
77 "ghcr.io/devcontainers/features/aws-cli:latest" : {},
8- "ghcr.io/devcontainers/features/ruby:1" : {},
9- "ghcr.io/devcontainers/features/node:latest" : {},
10- "ghcr.io/shyim/devcontainers-features/php:latest" : {
11- "installComposer" : false
12- }, // https://github.com/devcontainers/features/issues/262
13- "ghcr.io/devcontainers/features/python:latest" : {},
148 "ghcr.io/devcontainers/features/docker-in-docker:latest" : {},
159 "ghcr.io/customink/codespaces-features/docker-log-level" : {},
1610 "ghcr.io/devcontainers/features/sshd:latest" : {}
You can’t perform that action at this time.
0 commit comments