File tree 2 files changed +53
-4
lines changed
2 files changed +53
-4
lines changed Original file line number Diff line number Diff line change
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
3
+ {
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.2-bullseye" ,
7
+
8
+ // Features to add to the dev container. More info: https://containers.dev/features.
9
+ "features" : {
10
+ "ghcr.io/devcontainers/features/github-cli:1" : {},
11
+ "ghcr.io/devcontainers/features/node:1" : {}
12
+ },
13
+
14
+ // Configure tool-specific properties.
15
+ "customizations" : {
16
+ // Configure properties specific to VS Code.
17
+ "vscode" : {
18
+ "extensions" : [
19
+ " ikappas.composer" ,
20
+ " editorconfig.editorconfig" ,
21
+ " junstyle.php-cs-fixer" ,
22
+ " ms-vscode.makefile-tools" ,
23
+ " recca0120.vscode-phpunit"
24
+ ]
25
+ }
26
+ },
27
+
28
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
29
+ "forwardPorts" : [
30
+ 8080
31
+ ],
32
+
33
+ // Use 'postCreateCommand' to run commands after the container is created.
34
+ "postCreateCommand" : " sudo chmod a+x \" $(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \" $(pwd)\" /var/www/html; test -f composer.json && composer install"
35
+
36
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37
+ // "remoteUser": "root"
38
+ }
Original file line number Diff line number Diff line change 3
3
version : 2
4
4
5
5
updates :
6
- - allow :
6
+ - package-ecosystem : " composer"
7
+ allow :
7
8
- dependency-type : " development"
8
9
commit-message :
9
10
include : " scope"
@@ -12,18 +13,28 @@ updates:
12
13
labels :
13
14
- " dependency"
14
15
open-pull-requests-limit : 10
15
- package-ecosystem : " composer"
16
16
schedule :
17
17
interval : " weekly"
18
18
versioning-strategy : " increase"
19
19
20
- - commit-message :
20
+ - package-ecosystem : " github-actions"
21
+ commit-message :
21
22
include : " scope"
22
23
prefix : " github-actions"
23
24
directory : " /"
24
25
labels :
25
26
- " dependency"
26
27
open-pull-requests-limit : 10
27
- package-ecosystem : " github-actions"
28
+ schedule :
29
+ interval : " weekly"
30
+
31
+ - package-ecosystem : " devcontainers"
32
+ commit-message :
33
+ include : " scope"
34
+ prefix : " devcontainers"
35
+ directory : " /"
36
+ labels :
37
+ - " dependency"
38
+ open-pull-requests-limit : 10
28
39
schedule :
29
40
interval : " weekly"
You can’t perform that action at this time.
0 commit comments