|
1 | 1 | # devcontainer
|
2 | 2 |
|
3 |
| - |
4 |
| -For format details, see https://aka.ms/devcontainer.json. |
| 3 | +For format details, see https://aka.ms/devcontainer.json. |
5 | 4 |
|
6 | 5 | For config options, see the README at:
|
7 | 6 | https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
|
8 |
| - |
9 |
| -``` json |
10 |
| -{ |
11 |
| - "name": "Puppet Development Kit (Community)", |
12 |
| - "dockerFile": "Dockerfile", |
13 |
| - |
14 |
| - // Set *default* container specific settings.json values on container create. |
15 |
| - "settings": { |
16 |
| - "terminal.integrated.profiles.linux": { |
17 |
| - "bash": { |
18 |
| - "path": "bash", |
19 |
| - } |
20 |
| - } |
21 |
| - }, |
22 |
| - |
23 |
| - // Add the IDs of extensions you want installed when the container is created. |
24 |
| - "extensions": [ |
25 |
| - "puppet.puppet-vscode", |
26 |
| - "rebornix.Ruby" |
27 |
| - ], |
28 |
| - |
29 |
| - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
30 |
| - "forwardPorts": [], |
31 | 7 |
|
32 |
| - // Use 'postCreateCommand' to run commands after the container is created. |
33 |
| - "postCreateCommand": "pdk --version", |
| 8 | +```json |
| 9 | +{ |
| 10 | + "name": "Puppet Development Kit (Community)", |
| 11 | + "dockerFile": "Dockerfile", |
| 12 | + "customizations": { |
| 13 | + "vscode": { |
| 14 | + // Set *default* container specific settings.json values on container create. |
| 15 | + "settings": { |
| 16 | + "terminal.integrated.profiles.linux": { |
| 17 | + "bash": { |
| 18 | + "path": "bash", |
| 19 | + } |
| 20 | + } |
| 21 | + }, |
| 22 | + |
| 23 | + // Add the IDs of extensions you want installed when the container is created. |
| 24 | + "extensions": [ |
| 25 | + "puppet.puppet-vscode", |
| 26 | + "shopify.ruby-lsp" |
| 27 | + ] |
| 28 | + } |
| 29 | + } |
| 30 | + |
| 31 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 32 | + "forwardPorts": [], |
| 33 | + |
| 34 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 35 | + "postCreateCommand": "pdk --version", |
34 | 36 | }
|
35 | 37 | ```
|
36 |
| - |
37 |
| - |
38 |
| - |
0 commit comments