Zebra/docker
Gustavo Valverde e48e8e5572
chore(build): allow a custom `zebrad` config file path (#5163)
* chore(build): allow a custom `zebrad` config file path

Previous behavior:
The zebrad config file was hardcoded into the Dockerfile, allowing to
change specific values, but not the config file as a whole

Expected behavior:
Allow the user to specify the config file themselves, for example with
the nginx image you can pass -v /host/path/nginx.conf:/etc/nginx/nginx.conf:ro

Solution:
Use and ARG, with a default value, to allow the user to change the location
of the zebrad configuration file. This also sets the location under /etc,
honoring The Filesystem Hierarchy Standard (FHS) for linux

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

Co-authored-by: teor <teor@riseup.net>
2022-09-15 09:05:24 +00:00
..
zcash-lightwalletd fix(docker): Copy lightwalletd from the correct path during Docker builds (#4886) 2022-08-04 06:29:49 +00:00
zcash-params refactor(build): use FHS for deployments and artifacts (#4786) 2022-08-03 23:43:32 +00:00
Dockerfile chore(build): allow a custom `zebrad` config file path (#5163) 2022-09-15 09:05:24 +00:00
entrypoint.sh 1. add(ci): Add a Zebra cached state update test, fix lightwalletd tests (#4813) 2022-07-26 08:13:25 +10:00