Skip to content

Commit

Permalink
Merge pull request #8 from edgonmsft/devcontainer
Browse files Browse the repository at this point in the history
Update for workspaceFolder support.
  • Loading branch information
edgonmsft committed Oct 5, 2022
2 parents 0de4d78 + 7a263b3 commit 24dadce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
"MY_LOCAL_HOME": "${localEnv:HOME}",
"A_SIMPLE_KEY": "A_SIMPLE_VALUE"
},
"onCreateCommand": "echo $USER > USER.txt",
"remoteUser": "mock-remote",
"containerUser": "mock-container",
"onCreateCommand": "echo onCreate && sleep 2 && echo $USER > USER.txt",
"updateContentCommand": "echo updateContent && sleep 2 && echo finishedUpdateContent",
"waitFor": "onCreateCommand",
"postCreateCommand": "echo `whoami`> whoami.txt && bash ./run-me.sh",
"postAttachCommand": "echo postAttach >> postAttach.txt"
"postAttachCommand": "echo postAttach >> postAttach.txt",
"workspaceFolder": "/app",
"workspaceMount" : "source=${localWorkspaceFolder},target=/app,type=bind,consistency=cached"
}

0 comments on commit 24dadce

Please sign in to comment.