I just learned that Bitbucket offers per-repo cloud storage for arbitary files (the "Downloads" section on the web gui). Doing this before adding another third-party deb to our build (rakurai), which is quite large at 140MB. We don't want to pack that into our repo.
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"build": {
|
|
"dockerfile": "../docker/images/bluetradingsystems/linux_dotnet8_dev/Dockerfile",
|
|
"options": [
|
|
"--secret",
|
|
"id=bitbucket_access_token,src=${localWorkspaceFolder}/.secrets/bitbucket_access_token.txt"
|
|
]
|
|
},
|
|
"hostRequirements": {
|
|
"memory": "8gb",
|
|
"storage": "10gb"
|
|
},
|
|
"containerUser": "bts",
|
|
"updateRemoteUserUID": true,
|
|
"shutdownAction": "none",
|
|
// Note: If running multiple containers on the same host, each must use a
|
|
// unique set of ports. Usually we just add 1000 to each port as needed. For
|
|
// example, if 8000-8003 is taken, go with 9000-9003, then 10000-10003, etc.
|
|
"runArgs": [
|
|
"--shm-size",
|
|
"8gb"
|
|
],
|
|
"mounts": [
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"eamodio.gitlens",
|
|
"llvm-vs-code-extensions.vscode-clangd",
|
|
"ms-python.python",
|
|
"ms-vscode.cmake-tools",
|
|
"ms-vscode.cpptools",
|
|
"xaver.clang-format"
|
|
]
|
|
}
|
|
}
|
|
}
|