Skip to content

Commit

Permalink
improve devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreZ authored and ammolitor committed Apr 29, 2024
1 parent ab0cce0 commit d0eb68b
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,32 @@
"name": "FoundationDB remote dev env",
"image": "foundationdb/devel:centos7-latest",
"features": {},
"settings": {
"cmake.configureArgs": [
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
]
},
"runArgs": [
"--privileged",
"--cap-add=SYS_PTRACE",
"--security-opt",
"capAdd": [
"SYS_PTRACE"
],
"privileged": true,
"securityOpt": [
"seccomp=unconfined"
],
"hostRequirements": {
"storage": "60gb"
},
"containerEnv": {
"CC": "clang",
"CXX": "clang++",
"BOOST_ROOT": "/opt/boost_1_78_0_clang"
},
"customizations": {
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
]
"ms-vscode.cmake-tools"
],
"settings": {
"cmake.configureArgs": [
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
]
}
}
}
}
}

0 comments on commit d0eb68b

Please sign in to comment.