Template
feat: changed to neovim based development, removed root remote user
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user