Default to a non-root user
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
"ms-vscode.go"
|
||||
],
|
||||
"runArgs": [
|
||||
"--cap-add=SYS_PTRACE",
|
||||
"--security-opt",
|
||||
"seccomp=unconfined"
|
||||
// Comment out the next line to run as root instead. Linux users,
|
||||
// update Dockerfile with your user's UID/GID if not 1000.
|
||||
"-u", "vscode",
|
||||
|
||||
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
|
||||
],
|
||||
"settings": {
|
||||
"go.gopath": "/go",
|
||||
|
||||
Reference in New Issue
Block a user