aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2022-01-21 18:01:24 -0800
committerGravatar GitHub <noreply@github.com> 2022-01-21 18:01:24 -0800
commit7754718e1ac58d15e16a51f011976f6283aad95e (patch)
tree9654d644b2734e98f0a822c3aa164d17b8494948 /README.md
parent1d3e9011575e4e27934e1f41cfe87096d5cd4eaa (diff)
downloadcoredns-7754718e1ac58d15e16a51f011976f6283aad95e.tar.gz
coredns-7754718e1ac58d15e16a51f011976f6283aad95e.tar.zst
coredns-7754718e1ac58d15e16a51f011976f6283aad95e.zip
Adjust the README.md guide as coredns requires go 1.17. (#5111)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2a5d57c48..803e6554e 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ out-of-tree plugins.
To compile CoreDNS, we assume you have a working Go setup. See various tutorials if you don’t have
that already configured.
-First, make sure your golang version is 1.16 or higher as `go mod` support and other api is needed.
+First, make sure your golang version is 1.17 or higher as `go mod` support and other api is needed.
See [here](https://github.com/golang/go/wiki/Modules) for `go mod` details.
Then, check out the project and run `make` to compile the binary:
@@ -73,7 +73,7 @@ CoreDNS requires Go to compile. However, if you already have docker installed an
setup a Go environment, you could build CoreDNS easily:
```
-$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.16 make
+$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.17 make
```
The above command alone will have `coredns` binary generated.