mirror of
https://github.com/danog/php.git
synced 2025-01-22 04:51:20 +01:00
Add a CONTRIBUTING.md file for n00bs like me
This commit is contained in:
parent
0180511974
commit
2031882159
23
CONTRIBUTING.md
Normal file
23
CONTRIBUTING.md
Normal file
@ -0,0 +1,23 @@
|
||||
## Contributing to this repository
|
||||
|
||||
1. Don't edit the Dockerfiles directly. They are generated using templates.
|
||||
2. Make any changes to the `*.template` files in the root of the repository.
|
||||
3. Make sure you've checked the [Requirements](#requirements) below.
|
||||
4. Run the `./apply-templates.sh` script after making your changes.
|
||||
5. Once complete, commit all changes to the templates and Dockerfiles.
|
||||
|
||||
## Requirements
|
||||
|
||||
You will need [Gnu Awk](https://www.gnu.org/software/gawk/) to generate the Dockerfiles from the templates.
|
||||
|
||||
To install Gnu Awk on Debian-flavors of Linux:
|
||||
|
||||
```
|
||||
$ apt-get update && apt-get install gawk
|
||||
```
|
||||
|
||||
To install Gnu Awk on Mac/Linux/Windows with [Homebrew](https://brew.sh/):
|
||||
|
||||
```
|
||||
$ brew install gawk
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user