2021-11-06 07:36:59 -04:00
|
|
|
# devcontainer
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
2023-04-02 15:25:54 -04:00
|
|
|
"terminal.integrated.profiles.linux": {
|
|
|
|
"bash": {
|
|
|
|
"path": "bash",
|
|
|
|
}
|
|
|
|
}
|
2021-11-06 07:36:59 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
"extensions": [
|
|
|
|
"puppet.puppet-vscode",
|
|
|
|
"rebornix.Ruby"
|
2023-04-02 15:25:54 -04:00
|
|
|
],
|
2021-11-06 07:36:59 -04:00
|
|
|
|
|
|
|
// 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",
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|