Skip to content

Commit

Permalink
Set hostRequirements for Codespaces
Browse files Browse the repository at this point in the history
Developing in dotnet/runtime with a 2-core / 4GB ram machine doesn't work very well. Add a minimum of 4-core machine to the devcontainer spec.

Fix dotnet#75680
  • Loading branch information
eerhardt committed Sep 15, 2022
1 parent 9bddecf commit 6222d87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/libraries/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"VARIANT": "6.0-focal"
}
},
"hostRequirements": {
"cpus": 4,
"memory": "8gb"
},

"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
Expand Down
4 changes: 4 additions & 0 deletions .devcontainer/wasm/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"VARIANT": "6.0-focal"
}
},
"hostRequirements": {
"cpus": 4,
"memory": "8gb"
},

"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
Expand Down

0 comments on commit 6222d87

Please sign in to comment.