Skip to content

Commit

Permalink
Merge pull request #17298 from okineadev/devcontainer-patch
Browse files Browse the repository at this point in the history
Added a list of extensions to pre-install in Codespaces
  • Loading branch information
MikeMcQuaid committed May 14, 2024
2 parents 801c737 + 39aaf33 commit 960b1eb
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
@@ -1,9 +1,31 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Homebrew/brew",
"image": "ghcr.io/homebrew/brew:latest",

"workspaceFolder": "/home/linuxbrew/.linuxbrew/Homebrew",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/linuxbrew/.linuxbrew/Homebrew,type=bind,consistency=cached",

"onCreateCommand": ".devcontainer/on-create-command.sh",

"customizations": {
"vscode": {
// Installing all necessary extensions for vscode
// Taken from: .vscode/extensions.json
"extensions": [
"kaiwood.endwise",
"lorankloeze.ruby-rubocop-revived",
"rebornix.ruby",
"sorbet.sorbet-vscode-extension",
"github.vscode-github-actions",
"timonwong.shellcheck",
"foxundermoon.shell-format",
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig"
]
}
},

"remoteEnv": {
"HOMEBREW_GITHUB_API_TOKEN": "${localEnv:GITHUB_TOKEN}"
}
Expand Down
22 changes: 22 additions & 0 deletions .devcontainer/ubuntu18.04/devcontainer.json
@@ -1,9 +1,31 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Homebrew/brew-ubuntu18.04",
"image": "ghcr.io/homebrew/ubuntu18.04:latest",

"workspaceFolder": "/home/linuxbrew/.linuxbrew/Homebrew",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/linuxbrew/.linuxbrew/Homebrew,type=bind,consistency=cached",

"onCreateCommand": ".devcontainer/on-create-command.sh",

"customizations": {
"vscode": {
// Installing all necessary extensions for vscode
// Taken from: .vscode/extensions.json
"extensions": [
"kaiwood.endwise",
"lorankloeze.ruby-rubocop-revived",
"rebornix.ruby",
"sorbet.sorbet-vscode-extension",
"github.vscode-github-actions",
"timonwong.shellcheck",
"foxundermoon.shell-format",
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig"
]
}
},

"remoteEnv": {
"HOMEBREW_GITHUB_API_TOKEN": "${localEnv:GITHUB_TOKEN}"
}
Expand Down

0 comments on commit 960b1eb

Please sign in to comment.