Skip to content

Commit

Permalink
Added mount points so the container is automatically logged into onep…
Browse files Browse the repository at this point in the history
…ub if the host is.
  • Loading branch information
bsutton committed Aug 20, 2022
1 parent a1f2713 commit d75cd85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"features": {
"git": "latest",
"github-cli": "latest"
}
},
"mounts": [
"source=${localEnv:HOME}/.config/dart/pub-tokens.json,target=${containerEnv:HOME}/.config/dart/pub-tokens.json,type=bind,consistency=cached",
"source=${localEnv:HOME}/.onepub/onepub.yaml,target=${containerEnv:HOME}/.onepub/onepub.yaml,type=bind,consistency=cached"
]

}

0 comments on commit d75cd85

Please sign in to comment.