mirror of
https://github.com/Homebrew/brew.git
synced 2024-11-25 16:33:34 +08:00
68a0ad05dc
For development it feels like it makes sense to use the master image. While we're here, let VSCode autoformat the devcontainer.json.
47 lines
1.4 KiB
JSON
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}"
|
|
}
|
|
}
|