1- // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2- // README at: https://github.com/devcontainers/templates/tree/main/src/php
31{
4- "name" : " PHP" ,
5- // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6- "image" : " mcr.microsoft.com/devcontainers/php:1-8.3-bullseye" ,
7- // Features to add to the dev container. More info: https://containers.dev/features.
8- // "features": {},
9- // Configure tool-specific properties.
10- // "customizations": {},
11- // Use 'forwardPorts' to make a list of ports inside the container available locally.
12- "forwardPorts" : [
13- 80
14- ],
15- "containerEnv" : {
16- "XDEBUG_MODE" : " debug,develop"
17- },
18- "customizations" : {
19- "vscode" : {
20- "extensions" : [
21- " CharlieGerard.pride-vscode-themes" ,
22- " junstyle.php-cs-fixer" ,
23- " stylelint.vscode-stylelint" ,
24- " jetmartin.bats" ,
25- " recca0120.vscode-phpunit"
26- ]
27- }
28- },
29- // Use 'postCreateCommand' to run commands after the container is created.
30- "postStartCommand" : " .devcontainer/postCreateCommands.sh" ,
31- "features" : {
32- "ghcr.io/devcontainers/features/node:1" : {},
33- "ghcr.io/edouard-lopez/devcontainer-features/bats:0" : {},
34- "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
35- "ghcr.io/devcontainers/features/github-cli:1" : {},
36- "ghcr.io/wxw-matt/devcontainer-features/apt:latest" : {
37- "packages" : " bash-completion vim iputils-ping telnet"
38- }
39- }
40- }
2+ "name" : " PHP" ,
3+ "image" : " mcr.microsoft.com/devcontainers/php:1-8.3-bullseye" ,
4+ "forwardPorts" : [
5+ 80
6+ ],
7+ "containerEnv" : {
8+ "XDEBUG_MODE" : " debug,develop"
9+ },
10+ "customizations" : {
11+ "vscode" : {
12+ "extensions" : [
13+ " CharlieGerard.pride-vscode-themes" ,
14+ " junstyle.php-cs-fixer" ,
15+ " stylelint.vscode-stylelint" ,
16+ " jetmartin.bats" ,
17+ " recca0120.vscode-phpunit"
18+ ]
19+ }
20+ },
21+ "postStartCommand" : " .devcontainer/postCreateCommands.sh" ,
22+ "features" : {
23+ "ghcr.io/devcontainers/features/node:1" : {},
24+ "ghcr.io/edouard-lopez/devcontainer-features/bats:0" : {},
25+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
26+ "ghcr.io/devcontainers/features/github-cli:1" : {},
27+ "ghcr.io/wxw-matt/devcontainer-features/apt:latest" : {
28+ "packages" : " bash-completion vim iputils-ping telnet"
29+ }
30+ }
31+ }
0 commit comments