Updates for 1.41

This commit is contained in:
Chuck Lantz
2019-12-11 05:03:16 +00:00
parent 8e827d1383
commit 5c8e5bd6e2
4 changed files with 38 additions and 37 deletions

View File

@@ -1,19 +1,12 @@
{
"name": "Go",
"name": "Go Sample",
"dockerFile": "Dockerfile",
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Specifies a list of ports the container should publish
// Use 'appPort' to create a container with published ports. If the port isn't working, be sure
// your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost.
"appPort": [9000],
"runArgs": [
// Uncomment the next line to run as root instead. Linux users,
// update Dockerfile with your user's UID/GID if not 1000 when
// using the default "vscode" user.
// "-u", "root",
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
],
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
@@ -26,6 +19,10 @@
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "go version",
// Comment out the next line to run as root
"remoteUser": "vscode",
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
"ms-vscode.go"
]