| 1 |
# devcontainer |
| 2 |
|
| 3 |
|
| 4 |
For format details, see https://aka.ms/devcontainer.json. |
| 5 |
|
| 6 |
For config options, see the README at: |
| 7 |
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 |
|
| 32 |
// Use 'postCreateCommand' to run commands after the container is created. |
| 33 |
"postCreateCommand": "pdk --version", |
| 34 |
} |
| 35 |
``` |
| 36 |
|
| 37 |
|
| 38 |
|