You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: php_modules/README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ All PHP modules/extensions (for all PHP versions and both for `amd64` and `arm64
18
18
19
19
## How to add PHP modules?
20
20
21
+
> **Note:** The below listed steps require you to have the following on your local machine installed: `python3`, `PyYAML` Python module, `docker` and `make`.
22
+
21
23
1.**Inside `php_modules/` directory:**
22
24
1. Create a new directory with the name of the PHP module in `php_modules/`
23
25
2. Add `build.yml`, `options.yml` and `test.yml` into your newly created directory
@@ -28,7 +30,7 @@ All PHP modules/extensions (for all PHP versions and both for `amd64` and `arm64
28
30
2. Run `make gen-dockerfiles` to generate Dockerfiles via Ansible
29
31
3. Run `make build STAGE=mods VERSION=8.1 ARCH=linux/amd64` to build the `mods` Docker image with version `8.1` for platform `linux/amd64`
30
32
31
-
**Note:** If you want to test if your new module builds correctly, you can generate Dockerfiles which only contain this one module and all others removed. This allows for much faster Docker builds and you don't have to wait for all other modules to be built. To do so, you generate group_vars for your one module only via:
33
+
**Note:** If you want to test if your new module builds correctly, you can generate Dockerfiles which only contain this one module and all others removed. This allows for much faster Docker builds and you don't have to wait for all other modules to be built. To do so, generate only group_vars for your one module via:
32
34
33
35
```bash
34
36
# Commands shown here are executed from root of this repository
@@ -42,14 +44,14 @@ make gen-dockerfiles
42
44
43
45
## Extension definition: `build.yml`
44
46
45
-
See **[PHP-EXT-build.yml.md](../doc/PHP-EXT-build.yml.md)** how to alter the `build.yml` file.
47
+
See **[PHP-EXT-build.yml.md](../doc/contributor/PHP-EXT-build.yml.md)** how to alter the `build.yml` file.
46
48
47
49
48
50
## Extension definition: `options.yml`
49
51
50
-
See **[PHP-EXT-options.yml.md](../doc/PHP-EXT-options.yml.md)** how to alter the `options.yml` file.
52
+
See **[PHP-EXT-options.yml.md](../doc/contributor/PHP-EXT-options.yml.md)** how to alter the `options.yml` file.
51
53
52
54
53
55
## Extension definition: `test.yml`
54
56
55
-
See **[PHP-EXT-test.yml.md](../doc/PHP-EXT-test.yml.md)** how to alter the `test.yml` file.
57
+
See **[PHP-EXT-test.yml.md](../doc/contributor/PHP-EXT-test.yml.md)** how to alter the `test.yml` file.
0 commit comments