Skip to content

Commit

Permalink
build: Update devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli authored Jul 21, 2024
1 parent fac5d48 commit a765aa5
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
// https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-dotnet-project-for-codespaces
// https://github.com/microsoft/vscode-remote-try-dotnet
// https://dev.to/this-is-learning/set-up-github-codespaces-for-a-net-8-application-5999
// README at: https://github.com/devcontainers/templates/tree/main/src/go
// https://audacioustux.notion.site/Getting-Started-with-Devcontainer-c727dbf9d56f4d6b9b0ef87b3111693f
{
"name": "Go Food Delivery Microservices",
// use existing dev container templates. More info: https://containers.dev/guide/dockerfile, https://containers.dev/templates
//"image": "mcr.microsoft.com/devcontainers/dotnet:1-7.0",
//"image": "mcr.microsoft.com/devcontainers/go:latest",
// use a Dockerfile file. More info: https://containers.dev/guide/dockerfile#dockerfile
// "build": {
// // Path is relative to the devcontainer.json file.
Expand All @@ -21,8 +18,8 @@
"features": {
// https://github.com/devcontainers/features/tree/main/src/go
"ghcr.io/devcontainers/features/go:1": {
"version": "1.21"
},
"version": "1.22"
},
// https://github.com/devcontainers/features/tree/main/src/github-cli
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "2"
Expand Down Expand Up @@ -59,7 +56,6 @@
"editor.suggest.snippetsPreventQuickSuggestions": false,
"explorer.autoReveal": true,
"resmon.show.cpufreq": false,
"dotnet.server.startTimeout": 60000,
"omnisharp.projectLoadTimeout": 60,
"workbench.colorTheme": "Visual Studio Light",
"workbench.iconTheme": "material-icon-theme",
Expand All @@ -83,10 +79,9 @@
"go.formatTool": "gofumpt"
},
"extensions": [
"golang.Go",
"esbenp.prettier-vscode",
"golang.Go",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"ms-dotnettools.csdevkit",
"mutantdino.resourcemonitor",
"humao.rest-client",
"dzhavat.bracket-pair-toggler",
Expand All @@ -102,7 +97,7 @@
}
},
"hostRequirements": {
"cpus": 2,
"cpus": 4,
"memory": "8gb",
"storage": "32gb"
},
Expand Down

0 comments on commit a765aa5

Please sign in to comment.