Skip to content

Add devcontainer settings

famasoon requested to merge famasoon/arti:issue/307 into main

Summary

In order to provide a unified development environment and not require from the contributor to install the necessary dependencies, remote containers would be useful and solve that problem. https://code.visualstudio.com/docs/remote/containers

We can use devcontainer in some editor with Devcontainer CLI https://github.com/devcontainers/cli So, every developer can create same environment with devcontainer

What is the expected behavior?

  • Given: devcontainer.json exists
  • Given: Visual Studio Code Remote is active
  • Given: Contributor trusts the author/repository
  • Expect: A prompt should be available to open the working directory inside a container
  • Expect: The environment inside the container should include all dependencies we need to work productively
  • Expect: The documentation should contain a note

Merge request reports