Skip to content
Snippets Groups Projects
Commit d53a9cfb authored by Lars Bilke's avatar Lars Bilke
Browse files

Added VS Code .devcontainer.json.

Generate image with ogs-container-maker:

poetry run ogscm compiler.py ogs.py ogs_web.py ogs_vscode.py --ogs off -B
parent 111a5e70
No related branches found
No related tags found
No related merge requests found
{
"name": "ogs-gcc-dev",
"image": "registry.opengeosys.org/ogs/ogs/vscode:latest",
"containerEnv": {
"CPM_SOURCE_CACHE": "/opt/cpm"
},
"postStartCommand": "nohup bash -c 'cd web; yarn; yarn build; hugo server &'",
"forwardPorts": [
1313
],
"mounts": [
"source=devcontainer-cpm-cache,target=/opt/cpm,type=volume",
"source=devcontainer-ccache-cache,target=/opt/ccache,type=volume",
"source=${localWorkspaceFolder}/../build,target=${containerWorkspaceFolder}/../build,type=bind"
],
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cmake-tools",
"ms-vscode.cpptools"
]
}
},
"remoteUser": "vscode",
"features": {
"common": {}
}
}
......@@ -30,3 +30,7 @@ CMakeUserPresets.json
# clangd and other language servers' caches
.cache
.ccls-cache
# VS Code devcontainer
/.cpm
nohup.out
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment