chore: add devcontainer.json

This commit is contained in:
Alexis Couvreur
2022-11-14 04:23:11 +00:00
parent 989f1d593c
commit fa5b03701a
2 changed files with 34 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
{
"name": "Go",
"image": "mcr.microsoft.com/devcontainers/go:0-1.19",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/docker-in-docker:1": {},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/go:1": {}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go"
}
}
}
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "go version",
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

1
.gitignore vendored
View File

@@ -1,3 +1,2 @@
.devcontainer
sablier.yaml
./plugins/traefik/e2e/kubeconfig.yaml