Files
truecharts/.devcontainer/devcontainer.json
Kjeld Schouten-Lebbing e5e4c0950c feat(security): Render security scan results during build (#1451)
* feat(security): Render security scan results during build.

* move devcontainer to tccr in workflows

* move vscode devcontainer to tccr

* add fake bump to force tests to actually run

* ok

* work on building docs out of the security scan

* slight fix

* try to output container scan data

* done

* whoops

* output container scan output to file (crude)

* temporaryily encapsulate trivy output with code tags

* add some console output while running security scans
2021-12-03 19:31:19 +01:00

39 lines
1.4 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": "tccr.io/truecharts/devcontainer:v2.1.0"
// 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"
}