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: CONTRIBUTING.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,29 +20,43 @@ The above command will guide you through a couple of questions and will auto-gen
20
20
21
21
* your project directory with Dockerfiles
22
22
* an entry in the main README.md
23
-
* GitHub action pipelines.
23
+
* GitHub action pipelines
24
+
* GitHub code ownership
24
25
25
26
Once this is done, you can start refining your Dockerfiles, update your project README.md, create according tests if needed and PR it for initial review.
26
27
27
28
29
+
## How do I build my own flavour locally?
30
+
31
+
If you want to test your build locally do so as follows:
32
+
```
33
+
# Defaults to linux/amd64
34
+
make build FLAVOUR=<flavour-name> VERSION=<php-version>
35
+
36
+
# Explicitly build linux/arm64
37
+
make build FLAVOUR=<flavour-name> VERSION=<php-version> ARCH=linux/arm64
38
+
```
39
+
40
+
28
41
## Becoming a maintainer
29
42
30
-
As a maintainer, you will need create a flavour for PHP 5.3 - PHP 8.2for the `amd64` and `arm64` architecture.
43
+
As a maintainer, you must create a working flavour for all PHP versions (PHP 5.3 to PHP 8.2) and for both architectures (`amd64` and `arm64`).
31
44
32
45
### Benefits
33
46
34
47
If you plan on adding your own flavoured images to this repository, you will gain the following benefits:
35
48
36
49
* namespaced flavour
37
50
* your customized images
38
-
* automatic nightly builds for always up-to-date images
51
+
* automatic nightly builds for always up-to-date images pullable from [Dockerhub](https://hub.docker.com/r/devilbox/php-fpm-community)
52
+
* useable with the [Devilbox](https://github.com/cytopia/devilbox)
39
53
40
54
### Responsibilities
41
55
42
-
By doing so, you will also have to take the continuous responsible to:
56
+
By doing so, you will also have to take the continuous responsibility to:
43
57
44
58
* be the GitHub code owner of your flavour
45
-
* ensure your Docker image builds pass
59
+
* ensure the builds of your Docker images pass
46
60
* work on reported issues on your flavour
47
61
* ensure tests exist for anything specific you add to your flavour
48
62
* continuously groom your project and review assigned pull requests
@@ -58,7 +72,8 @@ It will basically become your project.
58
72
# For the following to work, you must have built all images locally.
0 commit comments