Mastodon/GitHub/mastodon/.devcontainer
- mastodon/.devcontainer at main ยท mastodon/mastodon
- My Notes
- has an example of two different
devcontainer.json- one at.devcontainer/devcontainer.jsonand one at.devcontainer/codespaces/.devcontainer.jsonfor GitHub/Codespace- the Codespace one makes use of environment variables like
CODESPACE_NAME,${localWorkspaceFolderBasename}, and points to the same compose file as.devcontainer/devcontainer.json- I like how the codespace one has this bit, which has bit me a few times. Uses DevContainer/Hook/onCreateCommand and DevContainer/Ref/Variable/containerWorkspaceFolder
- the Codespace one makes use of environment variables like
- has an example of two different
- My Notes