-
Notifications
You must be signed in to change notification settings - Fork 382
/
devcontainer.json
47 lines (47 loc) · 1.15 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "Ddosify Open Source",
"build": {
"dockerfile": "Dockerfile.dev",
"context": "../"
},
"runArgs": [
"-v",
"${env:HOME}${env:USERPROFILE}/.ssh:/root/.ssh-localhost:ro",
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--ipc",
"host",
"--hostname",
"ddosify"
],
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"go.useLanguageServer": true,
"go.gopath": "/go",
"go.goroot": "/usr/local/go",
"go.toolsGopath": "/go",
"go.lintTool": "golangci-lint",
"go.lintFlags": [
"--config=${workspaceFolder}/.golangci.yml",
"--fast"
],
"files.eol": "\n"
},
"extensions": [
"golang.Go",
"eamodio.gitlens",
"premparihar.gotestexplorer",
"GitHub.copilot",
"GitHub.copilot-labs"
]
}
},
"postCreateCommand": "mkdir -p ~/.ssh && cp -r ~/.ssh-localhost/* ~/.ssh && chmod 700 ~/.ssh && chmod 600 ~/.ssh/*",
"mounts": [
// "source=${env:HOME}/.zsh_history,target=/root/.zsh_history,type=bind,consistency=cached"
// "source=${env:HOME}/.bash_history,target=/root/.zsh_history,type=bind,consistency=cached"
]
}