Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information