35 lines
967 B
JSON
35 lines
967 B
JSON
{
|
|
"name": "PHP",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
// Update VARIANT to pick a PHP version: 7, 7.4, 7.3
|
|
"VARIANT": "7.4",
|
|
"INSTALL_NODE": "true",
|
|
"NODE_VERSION": "lts/*"
|
|
}
|
|
},
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/bash"
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"felixfbecker.php-debug",
|
|
"felixfbecker.php-intellisense",
|
|
"getpsalm.psalm-vscode-plugin",
|
|
"junstyle.php-cs-fixer"
|
|
]
|
|
|
|
// 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": "php -v",
|
|
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
// "remoteUser": "vscode"
|
|
}
|