mirror of
https://github.com/SourceFellows/gobuch.git
synced 2024-10-22 13:57:13 +00:00
27 lines
943 B
JSON
27 lines
943 B
JSON
|
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.122.1/containers/go
|
||
|
{
|
||
|
"name": "Go",
|
||
|
"dockerFile": "Dockerfile",
|
||
|
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
||
|
|
||
|
// Set *default* container specific settings.json values on container create.
|
||
|
"settings": {
|
||
|
"terminal.integrated.shell.linux": "/bin/bash",
|
||
|
"go.gopath": "/go"
|
||
|
},
|
||
|
|
||
|
// Add the IDs of extensions you want installed when the container is created.
|
||
|
"extensions": [
|
||
|
"golang.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 get",
|
||
|
|
||
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
||
|
// "remoteUser": "vscode"
|
||
|
}
|