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: doc/contributing/using-devcontainer.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Launch VS Code and open the cloned Node.js repository.
54
54
VS Code will build the Dev Container based on the configuration file. This may take some time depending
55
55
on your internet connection and system performance.
56
56
57
-
After the container is built, it will start automatically. By default it will run `git restore-mtime` to
57
+
After the Dev Container is built, it will start automatically. By default it will run `git restore-mtime` to
58
58
restore the modification times of the files in the working directory, in order to keep the build cache valid,
59
59
and you will see something like this in the terminal.
60
60
@@ -68,11 +68,12 @@ This may take a few seconds. Wait until it finishes before you open a new termin
68
68
69
69
### 5. Build your changes
70
70
71
-
Once the container is running, you can open a terminal in VS Code and run the build commands. By default, your
72
-
local repository is mounted inside a checkout in the container, so any changes you make will be reflected in
73
-
the container environment.
71
+
Once the Dev Container is running, you can open a terminal in VS Code and run the build commands. By default,
72
+
your local repository is mounted inside a checkout in the Dev Container, so any changes you make will be reflected
73
+
in the container environment.
74
74
75
-
In the Dev Container, the necessary dependencies are already installed. For better developer experience, the
75
+
In the Dev Container, the necessary dependencies are already installed and Node.js has already been
76
+
compiled, so a usable cache will exist. For better developer experience, the
76
77
build tool used in the Dev Container is `ninja`, instead of `make`. See
77
78
[Building Node.js with Ninja](./building-node-with-ninja.md) for more details on using `ninja` to build Node.js.
78
79
@@ -107,19 +108,18 @@ so by running the following command in the terminal on your host machine:
107
108
docker pull nodejs/devcontainer:nightly
108
109
```
109
110
110
-
The default configuration creates a volume to cache the build outputs between container restarts. If you wish to clear
111
+
The default configuration creates a volume to cache the build outputs between Dev Container restarts. If you wish to clear
111
112
the build cache, you can do so by deleting the volume named `node-devcontainer-cache`.
112
113
113
114
```bash
114
115
docker volume rm node-devcontainer-cache
115
116
```
116
117
117
-
To rebuild the container in VS Code, open the command palette and select
118
+
To rebuild the Dev Container in VS Code, open the command palette and select
118
119
`Dev Containers: Rebuild and Reopen in Container`.
119
120
120
121
## Further Reading
121
122
122
123
*[Visual Studio Code Dev Containers Documentation](https://code.visualstudio.com/docs/remote/containers)
123
-
* If you want to propose changes to the official nightly Dev Container image, the repository is
124
-
[nodejs/devcontainer](https://github.com/nodejs/devcontainer) which contains the nightly workflows and
125
-
the Dockerfile.
124
+
* If you want to propose changes to the official Node.js Nightly Dev Container image, feedback is welcome at [nodejs/devcontainer](https://github.com/nodejs/devcontainer). There, you can find
0 commit comments