-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
61 lines (61 loc) · 2.24 KB
/
devcontainer.json
File metadata and controls
61 lines (61 loc) · 2.24 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--ulimit=core=-1",
"--cap-add=SYS_ADMIN",
"--cap-add=SYS_PTRACE",
"--cap-add=PERFMON",
"--security-opt",
"seccomp=unconfined",
"--privileged"
],
"mounts": [
// You have to make sure source directory is avaliable on your host file system
"source=${localEnv:HOME}/freedom,target=/opt/freedom,type=bind,consistency=cached",
"source=${localEnv:HOME}/.ssh,target=/home/postgres/.ssh,type=bind,readonly"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/home/postgres/postgres,type=bind,consistency=cached",
"workspaceFolder": "/home/postgres/postgres",
"forwardPorts": [
5432
],
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"github.vscode-github-actions",
"GitHub.copilot",
"ms-vscode.cpptools",
"ms-vscode.cpptools-themes",
"ms-vscode.hexeditor",
"ms-vscode.live-server",
"ms-vscode.makefile-tools",
"ms-vsliveshare.vsliveshare",
"rioj7.command-variable",
"74th.scrollkey",
"ash-blade.postgresql-hacker-helper"
],
"settings": {
"files.exclude": {
"**/*.o": true,
"**/.deps/": true
},
"C_Cpp.default.cStandard": "c99",
"C_Cpp.default.browse.databaseFilename": "${workspaceFolder}/.vscode/.browse.c_cpp.db",
"C_Cpp.default.configurationProvider": "ms-vscode.makefile-tools",
"[c]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "ash-blade.postgresql-hacker-helper",
"editor.formatOnSaveMode": "file"
},
"files.associations": {
"*.h": "c"
},
"postgresql-hacker-helper.pg_bsd_indentPath": "../build/src/tools/pg_bsd_indent/pg_bsd_indent",
}
}
},
"postCreateCommand": "bash ./.devcontainer/postCreateCommand.sh"
}