Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 662 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 662 Bytes

Devcontainers Features

Background

This repository is based on https://github.com/devcontainers-contrib/features. It defines features for a variety of tools.

Create

To create a feature from a feature definition use:

poetry run devcontainer-contrib features generate "feature_definitions/<feature_name>/feature-definition.json" "."

Test

Before any tests, ensure that the latest base devcontainers image is pulled: docker pull mcr.microsoft.com/vscode/devcontainers/base:debian.

To test an individual feature use:

npx -y -p @devcontainers/cli@latest devcontainer features test -f <feature_name> --skip-autogenerated