Default to a non-root user

This commit is contained in:
Chuck Lantz
2019-08-05 23:30:46 +00:00
parent 61d09d1203
commit 0ba75c2592
3 changed files with 24 additions and 5 deletions

View File

@@ -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",