Something like this:
{
"name": "odkfull-codespace",
// consider also: Codespaces Prebuilds
"image": "obolibrary/odkfull:latest",
// Mount your repo where ODK expects it
"workspaceMount": "source=${localWorkspaceFolder},target=/work,type=bind,consistency=cached",
"workspaceFolder": "/work",
// Keep VS Code in control of the container command (safer than using image ENTRYPOINT)
"overrideCommand": true,
// Be root so you can add small tools if you need them
"remoteUser": "root",
//"features": {
// "ghcr.io/devcontainers/features/node:1": { "version": "lts" }
//},
"extensions": [
"anthropic.claude-code",
"ms-python.python",
"ms-azuretools.vscode-docker"
],
"remoteEnv": {
"TEST_ENV": "123"
},
"postCreateCommand": "bash .devcontainer/post_create.sh"
}
Something like this:
{ "name": "odkfull-codespace", // consider also: Codespaces Prebuilds "image": "obolibrary/odkfull:latest", // Mount your repo where ODK expects it "workspaceMount": "source=${localWorkspaceFolder},target=/work,type=bind,consistency=cached", "workspaceFolder": "/work", // Keep VS Code in control of the container command (safer than using image ENTRYPOINT) "overrideCommand": true, // Be root so you can add small tools if you need them "remoteUser": "root", //"features": { // "ghcr.io/devcontainers/features/node:1": { "version": "lts" } //}, "extensions": [ "anthropic.claude-code", "ms-python.python", "ms-azuretools.vscode-docker" ], "remoteEnv": { "TEST_ENV": "123" }, "postCreateCommand": "bash .devcontainer/post_create.sh" }