README
This commit is contained in:
parent
807c53b133
commit
cbf08ef563
1 changed files with 22 additions and 0 deletions
22
README.md
Normal file
22
README.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Build inside docker
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run --rm -i -t -e "GIT_CONFIG_COUNT=1" -e "GIT_CONFIG_KEY_0=safe.directory" -e "GIT_CONFIG_VALUE_0=/v" -v $PWD:/v -w /v golang:1.21 make
|
||||||
|
```
|
||||||
|
|
||||||
|
# Build on host
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
# Build docker image
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build . -t coredns
|
||||||
|
```
|
||||||
|
|
||||||
|
# `dnsstat` plugin
|
||||||
|
|
||||||
|
1. Add `dnsstat:git.pegasko.art/pegasko/dnsstat` to plugin.cfg
|
||||||
|
2. Build (above)
|
Loading…
Reference in a new issue