Skip to content

Commit 9f24f38

Browse files
authored
build: Add development container config (#949)
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/
1 parent 6360207 commit 9f24f38

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Rust",
3+
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers-contrib/features/apt-packages:1": {
6+
"packages": "cmake,ninja-build,protobuf-compiler,libprotoc-dev"
7+
}
8+
},
9+
"customizations": {
10+
"vscode": {
11+
"extensions": [
12+
"zxh404.vscode-proto3"
13+
]
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)