Skip to content

Instantly share code, notes, and snippets.

Created February 25, 2021 18:20
What would you like to do?
// For format details, see For config options, see the README at:
"name": "Ruby on Rails",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update 'VARIANT' to pick a Ruby version: 2, 2.7, 2.6, 2.5
"VARIANT": "2.7",
"NODE_VERSION": "lts/*"
// Set *default* container specific settings.json values on container create.
"settings": {
"": "/bin/bash"
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3000],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "ruby --version",
// Comment out connect as root instead. More info:
"remoteUser": "vscode"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment