Giter Club home page Giter Club logo

devcontainer-features's Introduction

Dev Container Features

Contents

This repository contains following features:

Usage

To use the features from this repository, add the desired features to devcontainer.json.

This example use ansible-lint feature on devcontainer.

{
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
  "features": {
    "ghcr.io/hspaans/devcontainer-features/ansible-lint:1": {}
  }
}

Repo and Feature Structure

Similar to the devcontainers/features repo, this repository has a src folder. Each Feature has its own sub-folder, containing at least a devcontainer-feature.json and an entrypoint script install.sh.

├── src
│   ├── ansible-lint
│   │   ├── devcontainer-feature.json
│   │   └── install.sh
│   ├── pyadr
│   │   ├── devcontainer-feature.json
│   │   └── install.sh
|   └── ...
│       ├── devcontainer-feature.json
│       └── install.sh
|   ...
├── test
│   ├── ansible-lint
│   │   ├── scenarios.json
│   │   └── test.sh
│   ├── pyadr
│   │   ├── scenarios.json
│   │   └── test.sh
|   └── ...
│       ├── scenarios.json
│       └── test.sh
...

An implementing tool will composite the documented dev container properties from the feature's devcontainer-feature.json file, and execute in the install.sh entrypoint script in the container during build time. Implementing tools are also free to process attributes under the customizations property as desired.

devcontainer-features's People

Contributors

dependabot[bot] avatar dkoper avatar github-actions[bot] avatar hspaans avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

dkoper

devcontainer-features's Issues

documentationURL and licenseURL are incorrect

Describe the bug
Both the URLs for documentationURL and licenseURL contain devcontainers and should be devcontainer. The version number also has to be bumped.

Incorrect URLs:

{
  ...
  "documentationURL": "http://github.com/hspaans/devcontainers-features/tree/main/src/pyadr",
  "licenseURL": "http://github.com/hspaans/devcontainers-features/tree/main/LICENSE",
  ...
}

Correct URLs:

{
  ...
  "documentationURL": "http://github.com/hspaans/devcontainer-features/tree/main/src/pyadr",
  "licenseURL": "http://github.com/hspaans/devcontainer-features/tree/main/LICENSE",
  ...
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.