Merge pull request #2488 from ItalyPaleAle/new-devcontainer
Updated devcontainer.json
This commit is contained in:
commit
3a0cb97cd6
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Dapr Components Contributor Environment",
|
"name": "Dapr Components Contributor Environment",
|
||||||
"image": "ghcr.io/dapr/dapr-dev:0.1.9",
|
"image": "ghcr.io/dapr/dapr-dev:latest",
|
||||||
"containerEnv": {
|
"containerEnv": {
|
||||||
// Uncomment to overwrite devcontainer .kube/config and .minikube certs with the localhost versions
|
// Uncomment to overwrite devcontainer .kube/config and .minikube certs with the localhost versions
|
||||||
// each time the devcontainer starts, if the respective .kube-localhost/config and .minikube-localhost
|
// each time the devcontainer starts, if the respective .kube-localhost/config and .minikube-localhost
|
||||||
|
@ -11,14 +11,21 @@
|
||||||
// the localhost bind-mount /var/run/docker-host.sock.
|
// the localhost bind-mount /var/run/docker-host.sock.
|
||||||
// "BIND_LOCALHOST_DOCKER": "true",
|
// "BIND_LOCALHOST_DOCKER": "true",
|
||||||
|
|
||||||
|
// Necessary for components-contrib's certification tests
|
||||||
"GOLANG_PROTOBUF_REGISTRATION_CONFLICT": "true"
|
"GOLANG_PROTOBUF_REGISTRATION_CONFLICT": "true"
|
||||||
},
|
},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
"davidanson.vscode-markdownlint",
|
||||||
"golang.go",
|
"golang.go",
|
||||||
"ms-azuretools.vscode-dapr",
|
"ms-azuretools.vscode-dapr",
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
"ms-kubernetes-tools.vscode-kubernetes-tools"
|
"ms-kubernetes-tools.vscode-kubernetes-tools"
|
||||||
],
|
],
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/sshd:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/azure-cli:1": {}
|
||||||
|
},
|
||||||
"mounts": [
|
"mounts": [
|
||||||
// Mount docker-in-docker library volume
|
// Mount docker-in-docker library volume
|
||||||
"type=volume,source=dind-var-lib-docker,target=/var/lib/docker",
|
"type=volume,source=dind-var-lib-docker,target=/var/lib/docker",
|
||||||
|
@ -57,7 +64,12 @@
|
||||||
"settings": {
|
"settings": {
|
||||||
"go.toolsManagement.checkForUpdates": "local",
|
"go.toolsManagement.checkForUpdates": "local",
|
||||||
"go.useLanguageServer": true,
|
"go.useLanguageServer": true,
|
||||||
"go.gopath": "/go"
|
"go.gopath": "/go",
|
||||||
|
"go.buildTags": "e2e,perf,conftests,unit,integration_test,certtests",
|
||||||
|
"git.alwaysSignOff": true,
|
||||||
|
"terminal.integrated.env.linux": {
|
||||||
|
"GOLANG_PROTOBUF_REGISTRATION_CONFLICT": "ignore"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"workspaceFolder": "/workspaces/components-contrib",
|
"workspaceFolder": "/workspaces/components-contrib",
|
||||||
"workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/workspaces/components-contrib",
|
"workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/workspaces/components-contrib",
|
||||||
|
|
Loading…
Reference in New Issue