devcontainer fixes (#688)

* adding runargs section to fix docker access from devcontainer to host

* updating integrated terminal settings to match with the most recent settings.json scheme

* updating base image to most recent dotnet sdk version

Co-authored-by: Steve Smith <steve@kentsmiths.com>
This commit is contained in:
Engin Polat
2022-12-20 10:27:01 -08:00
committed by GitHub
parent fdb1c34d61
commit 303f145ad3
2 changed files with 11 additions and 2 deletions

View File

@@ -15,10 +15,18 @@
// Comment out to connect as root user. See https://aka.ms/vscode-remote/containers/non-root.
// make sure this is the same as USERNAME above
"remoteUser": "vscode",
"runArgs": [
"-v",
"/var/run/docker.sock:/var/run/docker.sock"
],
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
},
},
// Add the IDs of extensions you want installed when the container is created.