You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/Dockerfile
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.212.0/containers/javascript-node/.devcontainer/base.Dockerfile
2
-
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 16-bullseye, 14-bullseye, 16-buster, 14-buster
3
-
ARG VARIANT="16-bullseye"
2
+
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
3
+
ARG VARIANT="18-bullseye"
4
4
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
- We recommend using a version in [Active LTS](https://nodejs.org/en/about/releases/)
76
76
- If you use [nvm](https://github.com/nvm-sh/nvm#nvmrc) or [fnm](https://github.com/Schniz/fnm) you can install the latest LTS version with `nvm use` or `fnm use` respectively. Both will use the `.nvmrc` file in the project's root.
77
77
-[npm 8.x](https://www.npmjs.com/)
78
78
- After installing Node.js, you can install `npm` with `npm install -g npm@next-8`
79
-
-[AWS SAM CLI >= 1.49.0](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
79
+
-[AWS SAM CLI >= 1.65.0](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
80
80
- AWS SAM CLI is a command line interface for AWS Serverless Application Model (SAM), it's used in one of the examples, and it's part of the pre-push hook.
81
81
-[Docker](https://docs.docker.com/get-docker/)
82
82
- Docker is used to build documentation and Layer.
83
83
84
84
First, [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the repository, and then run the following commands to clone and initialize the repository locally.
85
85
86
86
> **Note**
87
-
> In order for the commands below to work you need Node.js `16.x` and npm `8.x`
87
+
> In order for the commands below to work you need Node.js `18.x` and npm `8.x`
@@ -272,7 +272,7 @@ Contributions via pull requests are much appreciated.
272
272
273
273
### Summary
274
274
275
-
* This project uses `node@16.x` and `[email protected]`for development (see [Setup](#setup)).
275
+
* This project uses `node@18.x` and `[email protected]`for development (see [Setup](#setup)).
276
276
* Before opening a Pull Request, please find the existing related issue or open a new one to discuss the proposed changes. A PR without a related issue or discussion has a high risk of being rejected. We are very appreciative and thankful for your time and efforts, and we want to make sure they are not wasted.
277
277
* After your proposal has been reviewed and accepted by at least one of the project's maintainers, you can submit a pull request.
278
278
* When opening a PR, make sure to follow the checklist inside the pull request template.
0 commit comments