This repo is based on the Dev Container Template Starter and the Dev Container Template specification and will be updated with templates that are applicable to the work we do as a team.
Development Container Templates A simple set of dev container 'templates' to help get you up and running with a containerized environment. |
A development container is a running Docker container with a well-defined tool/runtime stack and its prerequisites. It allows you to use a container as a full-featured development environment which can be used to run an application, to separate tools, libraries, or runtimes needed for working with a codebase, and to aid in continuous integration and testing.
This repository contains a set of Dev Container Templates which are source files packaged together that encode configuration for a complete development environment. A Template can be used in a new or existing project, and a supporting tool will use the configuration from the template to build a development container.
src
- A collection of subfolders, each declaring a template. Each subfolder contains at least adevcontainer-template.json
and a devcontainer.json.test
- Mirroringsrc
, a folder-per-template with at least atest.sh
script. These tests are executed by the CI.
Opening this repository in a Dev Container will allow you to run the tests and make changes to the templates. You can also use the Dev Container CLI to create a new project using one of these templates.
The simplest way to run the tests is to open the repository within a Dev Contatiner inside VS Code: Dev Containers extension for Visual Studio Code.
For example, to run the tests for the deno
template, you can open the repository in a Dev Container and then run:
npm run test deno
This repository will accept improvement and bug fix contributions related to the current set of maintained templates.
Issues related to these templates can be reported in an issue in this repository.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See LICENSE.