bazelbuild / bazelbuild/bazelisk

Support adding bazel to VSCode dev container

Open
#308 0 comments 5 reactions 0 assignees View on GitHub
P3 type: feature request
Dominant language
Go
Stars
2.7k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

Many common utilities like go and git can be installed in a dev container using this syntax in your devcontainer.json file:

```
"features": {
"docker-from-docker": "latest",
"git": "latest",
"github-cli": "latest"
}
```

This is a request to support a feature for bazel by adding a line like this:

```
"bazel": "latest"
```

Doc on devcontainer.json: https://code.visualstudio.com/docs/remote/devcontainerjson-reference
Place where you'd define a bazel script: https://github.com/microsoft/vscode-dev-containers/tree/main/script-library

Contributor guide

Open the contributing guide

Research direction

Start with the devcontainer.json reference and inspect the linked vscode-dev-containers script-library location for the existing feature scripts. Add support for a "bazel": "latest" feature and verify that the feature can be selected in a VS Code dev container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, vscode
Domain
devops, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.