33 lines
869 B
JSON
33 lines
869 B
JSON
{
|
|
"name": "PHP Sample",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
// Update VARIANT to pick a PHP version
|
|
"VARIANT": "7",
|
|
"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"
|
|
],
|
|
|
|
// 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",
|
|
|
|
// Comment out to use the root user instead. See https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode"
|
|
}
|