aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index c4bd09d22..c20ffead6 100644
--- a/README.md
+++ b/README.md
@@ -74,7 +74,9 @@ 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.21 make
+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'
```
The above command alone will have `coredns` binary generated.