mirror of
https://github.com/atuinsh/atuin.git
synced 2026-09-28 13:02:01 +02:00
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "atuin-dev",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "."
|
|
},
|
|
"remoteUser": "dev",
|
|
"overrideCommand": false,
|
|
"workspaceFolder": "/workspaces/atuin",
|
|
|
|
// Features are applied at `devcontainer build` time, so they bake into the
|
|
// prebuilt image. The local ./features/atuin is the seed of a future
|
|
// published ghcr.io/atuinsh/features/atuin.
|
|
"features": {
|
|
// "./features/atuin" temporarily disabled — see entrypoint.sh. The feature
|
|
// itself is still in-tree; re-enable by uncommenting.
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
// docker-in-docker works fine under kata (real VM kernel); under runc it
|
|
// needs a privileged pod. Enable only on the kata template:
|
|
// "ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
|
},
|
|
|
|
// IMPORTANT: lifecycle hooks (postCreateCommand etc.) only run when the
|
|
// devcontainer CLI/editor *launches* the container. Our sandboxes are
|
|
// launched by agent-sandbox as plain pods, so hooks never fire there.
|
|
// Rule: anything the sandbox needs goes in the Dockerfile or entrypoint.sh,
|
|
// never in a lifecycle hook.
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"rust-lang.rust-analyzer",
|
|
"tamasfe.even-better-toml",
|
|
"vadimcn.vscode-lldb"
|
|
]
|
|
}
|
|
},
|
|
|
|
"containerEnv": {
|
|
"CARGO_TARGET_DIR": "/workspaces/.cargo-target"
|
|
}
|
|
}
|