mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 12:34:59 +02:00
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
// 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.238.1/containers/ubuntu
|
|
{
|
|
"name": "Ubuntu",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
// Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04
|
|
// Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon.
|
|
"args": { "VARIANT": "ubuntu-22.04" }
|
|
},
|
|
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
"settings": {
|
|
// Allow Xdebug to listen to requests from remote (or container)
|
|
"remote.localPortHost": "allInterfaces"
|
|
},
|
|
//"devPort": {},
|
|
// Specify which VS Code extensions to install (List of IDs)
|
|
"extensions": ["xdebug.php-debug"]
|
|
}
|
|
},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [80, 9003],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postStartCommand": "bash .devcontainer/resources/setup.sh",
|
|
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode",
|
|
"features": {
|
|
"github-cli": "latest"
|
|
}
|
|
}
|