chore: fix docs incompatibility (#7390)

This commit is contained in:
Yoofi Quansah 2025-06-27 22:46:21 -07:00 committed by GitHub
parent b2a2a5f648
commit 8fce3456d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,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.22 sh -c 'GOFLAGS="-buildvcs=false" make gen && GOFLAGS="-buildvcs=false" make'
golang:1.24 sh -c 'GOFLAGS="-buildvcs=false" make gen && GOFLAGS="-buildvcs=false" make'
```
The above command alone will have `coredns` binary generated.