mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 01:04:15 -04:00
Update README.md to up golang version to 1.22 (#6899)
Signed-off-by: xinbenlv <zzn-github@zzn.im>
This commit is contained in:
@@ -76,7 +76,7 @@ setup a Go environment, you could build CoreDNS easily:
|
|||||||
```
|
```
|
||||||
docker run --rm -i -t \
|
docker run --rm -i -t \
|
||||||
-v $PWD:/go/src/github.com/coredns/coredns -w /go/src/github.com/coredns/coredns \
|
-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.
|
The above command alone will have `coredns` binary generated.
|
||||||
|
|||||||
Reference in New Issue
Block a user