39 lines
1.5 KiB
JSON
39 lines
1.5 KiB
JSON
// 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",
|
|
"image": "ghcr.io/truecharts/devcontainer:v3.1.1@sha256:b682ca20989c13c4afc8edf0660f83ce8e896e32db21d6321ba06f135911fc81",
|
|
|
|
// 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",
|
|
"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"
|
|
],
|
|
|
|
// 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"
|
|
}
|