This repository contains custom collection of Features for VSCode dev containers following the dev container Feature distribution specification.
Running Bazelisk
inside the built container will install Bazel
latest version as it is recommended. Set USE_BAZEL_VERSION
for specific version of Bazel
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/balazs23/devcontainers-features/bazel:1": {
"bazelisk": "v1.15.0"
}
},
"containerEnv": { "USE_BAZEL_VERSION": "5.4.0" }
}
$ bazelisk version
...
Next generation build system with first class monorepo support and powerful integrations. It requires npm
so must use a container with nodejs
installed first.
{
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:18-bullseye",
"features": {
"ghcr.io/balazs23/devcontainers-features/nx:1": {
"version": "15.5.1"
}
}
}
$ nx init
...