Skip to content

Balazs23/devcontainers-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev Container Features: Balazs23/devcontainers-features

Devcontainers

Contents

This repository contains custom collection of Features for VSCode dev containers following the dev container Feature distribution specification.

bazel

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

...

docs

nx

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

...

docs