fix: devcontainer build and setup on fresh clones
This commit is contained in:
parent
1e8050611c
commit
c2125f063b
7 changed files with 70 additions and 15 deletions
|
|
@ -11,12 +11,16 @@
|
|||
},
|
||||
"mounts": [
|
||||
"source=${localEnv:USERPROFILE}/.ssh,target=/mnt/host-ssh,type=bind,readonly",
|
||||
"source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind",
|
||||
"source=kirche-opencode-share,target=/home/vscode/.local/share/opencode,type=volume",
|
||||
"source=kirche-opencode-config,target=/home/vscode/.config/opencode,type=volume"
|
||||
],
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||
// moby:false — python:3.12-slim is Debian trixie now, whose repos have
|
||||
// no moby-cli (feature default). false installs the upstream Docker CE
|
||||
// CLI instead, which supports trixie.
|
||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
|
||||
"moby": false
|
||||
}
|
||||
},
|
||||
"overrideCommand": false,
|
||||
"postCreateCommand": "sudo -E bash .devcontainer/setup.sh",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue