Skip to content

Commit

Permalink
🔨 Pass ssh keys to dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Sep 22, 2019
1 parent c68cc8b commit b7be74e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"name": "Home Panel Dev",
"context": "..",
"dockerFile": "../Dockerfile.dev",
"appPort": [3000, 8234],
"runArgs": ["-e", "GIT_EDITOR=\"code --wait\""],
"runArgs": [
"-e",
"GIT_EDITOR=\"code --wait\"",
"-v",
"${env:HOME}${env:USERPROFILE}/.ssh:/root/.ssh-localhost:ro"
],
"postCreateCommand": "mkdir -p ~/.ssh && cp -r ~/.ssh-localhost/* ~/.ssh && chmod 700 ~/.ssh && chmod 600 ~/.ssh/*",
"extensions": [
"davidanson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
Expand Down

0 comments on commit b7be74e

Please sign in to comment.