This change adds a _devcontainer_ CI workflow that only runs when the devcontainer config or rust-toolchain changes. It ensures that the devcontainer uses the same Rust toolchain as the repo, that the devcontainer dockerfiles builds successfully, and that the devcontainer config references a real, published image. Signed-off-by: Oliver Gould <ver@buoyant.io> |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| README.md | ||
| devcontainer.json | ||
README.md
devcontainer
This directory provides a devcontainer configuration that configures a reproducible development environment for this project.
Docker
This configuration currently uses the parent host's Docker daemon (rather than running a separate docker daemon within in the container). It creates devcontainers on the host network so it's easy to use k3d clusters hosted in the parent host's docker daemon.
Customizing
This configuration is supposed to provide a minimal setup without catering to any one developer's personal tastes. Devcontainers can be extended with per-user configuration.
To add your own extensions to the devcontainer, configure default extensions in your VS Code settings:
"remote.containers.defaultExtensions": [
"eamodio.gitlens",
"GitHub.copilot",
"GitHub.vscode-pull-request-github",
"mutantdino.resourcemonitor",
"stateful.edge"
],
Furthermore, you can configure a dotfiles repository to perform customizations with a configuration like:
"dotfiles.repository": "https://github.com/olix0r/dotfiles.git",