Update README.md to up golang version to 1.22 (#6899)
Signed-off-by: xinbenlv <zzn-github@zzn.im>
This commit is contained in:
parent
f4f0d55dce
commit
144b0f5359
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ setup a Go environment, you could build CoreDNS easily:
|
|||
```
|
||||
docker run --rm -i -t \
|
||||
-v $PWD:/go/src/github.com/coredns/coredns -w /go/src/github.com/coredns/coredns \
|
||||
golang:1.21 sh -c 'GOFLAGS="-buildvcs=false" make gen && GOFLAGS="-buildvcs=false" make'
|
||||
golang:1.22 sh -c 'GOFLAGS="-buildvcs=false" make gen && GOFLAGS="-buildvcs=false" make'
|
||||
```
|
||||
|
||||
The above command alone will have `coredns` binary generated.
|
||||
|
|
Loading…
Add table
Reference in a new issue