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 Nov 24, 2023
1 parent 907e9f6 commit c0c5d2e
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 c0c5d2e

Please sign in to comment.