Skip to content

Commit

Permalink
Update devcontainer format + Ruby vscode extension (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorhett authored Jan 15, 2024
1 parent 9e873f4 commit 6f63cc2
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 46 deletions.
59 changes: 29 additions & 30 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
# devcontainer


For format details, see https://aka.ms/devcontainer.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.140.1/containers/puppet

``` json
{
"name": "Puppet Development Kit (Community)",
"dockerFile": "Dockerfile",

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
}
}
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"puppet.puppet-vscode",
"rebornix.Ruby"
],

// 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": "pdk --version",
```json
{
"name": "Puppet Development Kit (Community)",
"dockerFile": "Dockerfile",
"customizations": {
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
}
}
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"puppet.puppet-vscode",
"shopify.ruby-lsp"
]
}
}

// 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": "pdk --version",
}
```



32 changes: 17 additions & 15 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"name": "Puppet Development Kit (Community)",
"dockerFile": "Dockerfile",

"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash"
}
}
},

"extensions": [
"puppet.puppet-vscode",
"rebornix.Ruby"
]
"name": "Puppet Development Kit (Community)",
"dockerFile": "Dockerfile",
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash"
}
}
},
"extensions": [
"puppet.puppet-vscode",
"shopify.ruby-lsp"
]
}
}
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"recommendations": [
"puppet.puppet-vscode",
"rebornix.Ruby"
"shopify.ruby-lsp"
]
}

0 comments on commit 6f63cc2

Please sign in to comment.