microsoft / microsoft/vscode-remote-release

Give the ability to trigger devcontainer rebuild from scripts (git hooks, etc.)

Open
#9,735 1 comment 1 reaction 1 assignee View on GitHub

@chrmarti is already working on this.

Since Apr 2, 2024.

containers feature-request
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Nothing found in feature requests and web researchs

Give the ability to trigger a rebuild on a git branch switch or provide a way to trigger a rebuild from scripts (eg. git hooks).

This would provide a way for developers to be sure they are working with an up-to-date environment corresponding to used technology and languages versions.

For example if you're working on a php project, started with v7.3 of PHP, you may have a feature branch aiming to upgrade the project to php v8.1, so developers should be able to switch to that feature branch to have the work done as they would switch between other feature or fix branches for other works, and be sure the corresponding Docker containers and used images are coherent with current project Dockerfile. In this scenario, a simple git hooks should be able to trigger a devcontainer rebuild to match project organization and requirements.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.