chore(docs): update Docker build command in README (#7972)

This commit is contained in:
Ville Vesilehto
2026-03-27 05:37:35 +02:00
committed by GitHub
parent 0132ad86b5
commit 0918e88368

View File

@@ -79,7 +79,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.24 sh -c 'GOFLAGS="-buildvcs=false" make gen && GOFLAGS="-buildvcs=false" make' golang:1.25 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.