php-devops/.devcontainer/devcontainer.json
Snider 438ad7bd65 fix: align container image naming convention
Use ghcr.io/host-uk/core-images:{tag} format where tag is the
image variant (developer, server-php) rather than path-based naming.

See: https://github.com/host-uk/core-images/issues/1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:10:44 +00:00

33 lines
854 B
JSON

{
"name": "Core Developer",
"image": "ghcr.io/host-uk/core-images:developer",
"workspaceMount": "source=${localWorkspaceFolder}/packages,target=/workspace,type=bind",
"workspaceFolder": "/workspace",
"mounts": [
"source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,readonly",
"source=${localEnv:HOME}/.gitconfig,target=/root/.gitconfig,type=bind,readonly",
"source=core-dev-home,target=/root,type=volume"
],
"containerEnv": {
"TERM": "xterm-256color",
"EDITOR": "nvim"
},
"customizations": {
"vscode": {
"extensions": [
"bmewburn.vscode-intelephense-client",
"golang.go",
"ms-python.python",
"rust-lang.rust-analyzer"
]
}
},
"postCreateCommand": "echo 'Core Developer ready. Workspace: /workspace (packages/)'",
"remoteUser": "root"
}