Skip to content

Commit

Permalink
Mount .ballerina to local project directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Asitha committed Dec 23, 2021
1 parent 1d4ae9a commit c99b6da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Empty file added .ballerina/.keep
Empty file.
6 changes: 2 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"/tmp/ballerina.vsix",
"bungcip.better-toml"
"/tmp/ballerina.vsix"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [8080],

"initializeCommand": "mkdir -pv ./.ballerina",
"mounts": [
"type=bind,source=${localWorkspaceFolder}/.ballerina/,target=/home/vscode/.ballerina"
],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "",
// "postCreateCommand": "bal pull ballerinax/twitter; bal pull ballerinax/covid19",

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
Expand Down

0 comments on commit c99b6da

Please sign in to comment.