Skip to content

Commit

Permalink
Merge pull request #7 from azusa/fix-devcontainer_json
Browse files Browse the repository at this point in the history
fix Unpectly ends "Open Folder in container"  due to environment variable.
  • Loading branch information
stuartleeks committed Mar 8, 2021
2 parents b63de10 + 2fe4884 commit 2e7d97a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/devcontainer.json
Expand Up @@ -19,9 +19,7 @@
// Mount docker socket for docker builds
"-v", "/var/run/docker.sock:/var/run/docker.sock",
// Use host network
"--network=host",
// Mount azure, git and docker config
"-v", "${env:HOME}${env:USERPROFILE}/.azure:/root/.azure"
"--network=host"
],

// Set *default* container specific settings.json values on container create.
Expand Down Expand Up @@ -59,4 +57,4 @@

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
}

0 comments on commit 2e7d97a

Please sign in to comment.