feat: changed to neovim based development, removed root remote user

This commit is contained in:
2026-08-25 13:36:19 +02:00
parent 4361a7fdd9
commit 978052b430
2 changed files with 58 additions and 13 deletions
+16 -9
View File
@@ -1,7 +1,17 @@
{
"name": "Python Poetry Dev",
"build": {
"dockerfile": "Dockerfile"
"dockerfile": "Dockerfile",
"args": {
"USERNAME": "dev",
"USER_UID": "1000",
"USER_GID": "1000"
}
},
"features": {
"ghcr.io/duduribeiro/devcontainer-features/neovim:1": {
"version": "stable"
}
},
"customizations": {
"vscode": {
@@ -22,17 +32,14 @@
}
}
},
"runArgs": [
"--privileged",
"-v",
"/dev:/dev"
],
"runArgs": ["--privileged", "-v", "/dev:/dev"],
"mounts": [
"source=${localEnv:XDG_RUNTIME_DIR}/ssh-agent.socket,target=/tmp/ssh-agent.socket,type=bind"
"source=${localEnv:XDG_RUNTIME_DIR}/ssh-agent.socket,target=/tmp/ssh-agent.socket,type=bind",
"source=${env:HOME}/.config/nvim,target=/home/dev/.config/nvim,type=bind"
],
"remoteEnv": {
"SSH_AUTH_SOCK": "/tmp/ssh-agent.socket"
},
"remoteUser": "root",
"remoteUser": "dev",
"postCreateCommand": "poetry install"
}
}