Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .devcontainer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
devcontainer-lock.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the feature lockfile under version control

When contributors create this container from separate clean checkouts, ignoring the generated lockfile means each checkout independently resolves the floating Feature references (github-cli:1 with latest and node:1). This can install different Feature implementations over time and undermines the documented stable environment; commit devcontainer-lock.json so all contributors use the same resolved versions and integrity hashes.

Useful? React with 👍 / 👎.


15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,21 @@ Run the `Dev Containers: Rebuild and Reopen in Container` action to get started.

You can also open this dev container with [GitHub Codespaces](https://github.com/features/codespaces/).

Alternatively, install the [Dev Container CLI](https://github.com/devcontainers/cli) through npm:

```sh
npm install -g @devcontainers/cli
```

Then create the development container and open a shell in it:

```sh
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . zsh
```

Use the Dev Container tooling rather than building `.devcontainer/Dockerfile` directly. The tooling installs the features declared in `devcontainer.json`, including Node.js, and runs the post-create command. A plain `docker build` does not apply these features or lifecycle commands.

## Building the Compiler

Main targets:
Expand Down
Loading