File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,10 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
11
11
# ARG EXTRA_NODE_VERSION=10
12
12
# RUN su node -c "umask 0002 && ./usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
13
13
14
+ RUN wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip \
15
+ && unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \
16
+ && sudo ./sam-installation/install \
17
+ && rm -rf sam-installation aws-sam-cli-linux-*
18
+
14
19
# Global node modules
15
20
RUN su node -c "npm install -g npm-check-updates npm@next-8"
Original file line number Diff line number Diff line change 5
5
"build" : {
6
6
"dockerfile" : " Dockerfile" ,
7
7
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
8
- // Append -bullseye or -buster to pin to an OS version.
9
- // Use -bullseye variants on local arm64/Apple Silicon.
10
- "args" : { "VARIANT" : " 14-bullseye" }
8
+ // Append -bullseye or -buster to pin to an OS version.
9
+ // Use -bullseye variants on local arm64/Apple Silicon.
10
+ "args" : {
11
+ "VARIANT" : " 14-bullseye"
12
+ }
11
13
},
12
-
13
14
// Set *default* container specific settings.json values on container create.
14
15
"settings" : {
15
16
"git.enableCommitSigning" : true
16
17
},
17
-
18
18
// Add the IDs of extensions you want installed when the container is created.
19
19
"extensions" : [
20
20
" dbaeumer.vscode-eslint" ,
25
25
" ms-vscode.vscode-typescript-tslint-plugin" ,
26
26
" ms-azuretools.vscode-docker"
27
27
],
28
-
29
28
// Use 'postCreateCommand' to run commands after the container is created.
30
- "postCreateCommand" : " npm ci; npm run lerna-ci; npm run init-environment" ,
31
-
29
+ "postCreateCommand" : " npm ci; cd examples/cdk; npm ci; cd ../sam; npm ci; cd ../../; npm run init-environment" ,
32
30
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
33
- "remoteUser" : " node"
31
+ "remoteUser" : " node"
34
32
}
Original file line number Diff line number Diff line change 1
1
tasks :
2
- - init : nvm install; nvm use; npm i -g npm@next-8; npm ci; npm run lerna-ci ; npm run init-environment
2
+ - init : nvm install; nvm use; npm i -g npm@next-8; npm ci; cd examples/cdk; npm ci; cd ../sam; npm ci; cd ../../ ; npm run init-environment
3
3
vscode :
4
4
extensions :
5
5
- dbaeumer.vscode-eslint
You can’t perform that action at this time.
0 commit comments