brew/.devcontainer/devcontainer.json
Mike McQuaid 68a0ad05dc
devcontainer.json: use master image.
For development it feels like it makes sense to use the master image.

While we're here, let VSCode autoformat the devcontainer.json.
2024-11-20 11:34:03 +00:00

47 lines
1.4 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Homebrew/brew",
"image": "ghcr.io/homebrew/brew:master",
"workspaceFolder": "/home/linuxbrew/.linuxbrew/Homebrew",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/linuxbrew/.linuxbrew/Homebrew,type=bind,consistency=cached",
"onCreateCommand": ".devcontainer/on-create-command.sh",
"customizations": {
"codespaces": {
"repositories": {
"Homebrew/homebrew-bundle": {
"permissions": {
"contents": "write"
}
},
"Homebrew/homebrew-services": {
"permissions": {
"contents": "write"
}
}
}
},
"vscode": {
// Installing all necessary extensions for vscode
// Taken from: .vscode/extensions.json
"extensions": [
"Shopify.ruby-lsp",
"sorbet.sorbet-vscode-extension",
"github.vscode-github-actions",
"anykeyh.simplecov-vscode",
"ms-azuretools.vscode-docker",
"github.vscode-pull-request-github",
"davidanson.vscode-markdownlint",
"foxundermoon.shell-format",
"timonwong.shellcheck",
"ban.spellright",
"redhat.vscode-yaml",
"koichisasada.vscode-rdbg",
"editorconfig.editorconfig"
]
}
},
"remoteEnv": {
"HOMEBREW_GITHUB_API_TOKEN": "${localEnv:GITHUB_TOKEN}"
}
}