2021-09-28 09:11:33 -04:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
|
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/ruby
|
|
|
|
{
|
|
|
|
"name": "Ruby",
|
2021-09-29 06:33:07 -04:00
|
|
|
"image": "ghcr.io/truecharts/devcontainer:v2.0.1"
|
2021-09-28 09:11:33 -04:00
|
|
|
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
|
|
"settings": {
|
|
|
|
"terminal.integrated.shell.linux": "/bin/bash"
|
|
|
|
},
|
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
"extensions": [
|
|
|
|
"ms-kubernetes-tools.vscode-kubernetes-tools",
|
2021-09-29 06:33:07 -04:00
|
|
|
"rebornix.Ruby",
|
|
|
|
"github.vscode-pull-request-github",
|
|
|
|
"eamodio.gitlens",
|
|
|
|
"yzhang.markdown-all-in-one",
|
|
|
|
"davidanson.vscode-markdownlint",
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"2gua.rainbow-brackets",
|
|
|
|
"bmuskalla.vscode-tldr",
|
|
|
|
"visualstudioexptteam.vscodeintellicode",
|
|
|
|
"wingrunr21.vscode-ruby",
|
|
|
|
"redhat.vscode-yaml",
|
|
|
|
"spmeesseman.vscode-taskexplorer",
|
|
|
|
"formulahendry.code-runner"
|
2021-09-28 09:11:33 -04:00
|
|
|
],
|
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
// "forwardPorts": [],
|
|
|
|
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
|
|
"postCreateCommand": "export RUBYJQ_USE_SYSTEM_LIBRARIES=1 && bundle install",
|
|
|
|
|
|
|
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
"remoteUser": "vscode"
|
|
|
|
}
|