Skip to content

Commit

Permalink
build: Add development container config
Browse files Browse the repository at this point in the history
Add configuration to dev container [1] to ease development for new contributors. Github Codespaces will automatically load the correct environment to start development. VSCode will suggest to re-open the project in a dev container.

[1]: https://containers.dev/
  • Loading branch information
caspermeijn committed Feb 28, 2024
1 parent 7f1c303 commit 436a84d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Rust",
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/apt-packages:1": {
"packages": "cmake,ninja-build,protobuf-compiler,libprotoc-dev"
}
},
"customizations": {
"vscode": {
"extensions": [
"zxh404.vscode-proto3"
]
}
}
}

0 comments on commit 436a84d

Please sign in to comment.