4 ms·
While you can use nix derivations to build development containers, you still would need a Makefile / bash script specifying how to run them. The devcontainer s
by pid-1 4y ago
While you can use nix derivations to build development containers, you still would need a Makefile / bash script specifying how to run them.
The devcontainer spec combines 3 things:
- How to build containers for a development environment (using Docker or docker-compose)
- How to run containers for a development environment (volumes to mount, environment variables, commands to execute after containers are running, where the project will be mounted...)
- Which VS Code configuration to install and use (including extensions) within the development environment