mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 01:38:14 -04:00

* chore: add devcontainer for Anubis Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): ensure user can write to $HOME Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): forward ports, add launch config Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): add playwright deps Signed-off-by: Xe Iaso <me@xeiaso.net> * docs: document devcontainer usage Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: spelling Signed-off-by: Xe Iaso <me@xeiaso.net> * ci(devcontainer): fix action references Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): fix ko on arm64 Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
34 lines
969 B
JSON
34 lines
969 B
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
|
{
|
|
"name": "Dev",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
"build": {
|
|
"dockerfile": "./Dockerfile",
|
|
"context": "..",
|
|
"cacheFrom": [
|
|
"type=registry,ref=ghcr.io/techarohq/anubis/devcontainer"
|
|
]
|
|
},
|
|
"postStartCommand": "npm ci && go mod download",
|
|
"features": {
|
|
"ghcr.io/xe/devcontainer-features/ko:1.1.0": {}
|
|
},
|
|
"initializeCommand": "mkdir -p ${localEnv:HOME}${localEnv:USERPROFILE}/.local/share/atuin",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"esbenp.prettier-vscode",
|
|
"ms-azuretools.vscode-containers",
|
|
"golang.go",
|
|
"unifiedjs.vscode-mdx",
|
|
"a-h.templ",
|
|
"redhat.vscode-yaml"
|
|
]
|
|
}
|
|
},
|
|
"forwardPorts": [
|
|
8923,
|
|
3000
|
|
]
|
|
} |