refactor(zabbixserver): Simplify Git mail patch apply

This commit is contained in:
hygienic-books 2023-05-22 20:33:04 +02:00
parent ae13fa5c9c
commit 0a4f669d85

View File

@ -181,10 +181,10 @@ git -C '/opt/git/github.com/zabbix/zabbix-docker/branches/latest' checkout 'tags
## Apply patch
Identify yourself to the local `zabbix-docker` repo
Identify yourself to the local `zabbix-docker` repo. Obviously substitute your own name. An e-mail address is optional here. You don't want to contribute upstream, you just want to locally apply a patch file.
```
git -C '/opt/git/github.com/zabbix/zabbix-docker/branches/latest' config user.name "hygienic-books"
git -C '/opt/git/github.com/zabbix/zabbix-docker/branches/latest' config user.email "hygienic-books@tentic.net"
git -C '/opt/git/github.com/zabbix/zabbix-docker/branches/latest' config user.email ""
```
Apply `zabbix-docker.patch` to Docker Compose file. We use Zabbix' `docker-compose_v3_alpine_pgsql_latest.yaml` Compose file. Assuming this repo lives at `/opt/containers/zabbixserver`: