Refactor devcontainer.json for improved readability and structure

This commit is contained in:
unai 2026-02-01 16:32:31 +00:00
parent dd8c3e0998
commit 39862acfa3

View File

@ -1,6 +1,8 @@
{ {
"name": "Python Poetry Dev", "name": "Python Poetry Dev",
"build": { "dockerfile": "Dockerfile" }, "build": {
"dockerfile": "Dockerfile"
},
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [
@ -20,5 +22,17 @@
} }
} }
}, },
"runArgs": [
"--privileged",
"-v",
"/dev:/dev"
],
"mounts": [
"source=${localEnv:XDG_RUNTIME_DIR}/ssh-agent.socket,target=/tmp/ssh-agent.socket,type=bind"
],
"remoteEnv": {
"SSH_AUTH_SOCK": "/tmp/ssh-agent.socket"
},
"remoteUser": "root",
"postCreateCommand": "poetry install" "postCreateCommand": "poetry install"
} }