mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 10:13:14 -05:00
Bump golang to 1.20.0 (#6070)
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
This commit is contained in:
@@ -53,7 +53,7 @@ out-of-tree plugins.
|
||||
To compile CoreDNS, we assume you have a working Go setup. See various tutorials if you don’t have
|
||||
that already configured.
|
||||
|
||||
First, make sure your golang version is 1.17 or higher as `go mod` support and other api is needed.
|
||||
First, make sure your golang version is 1.20 or higher as `go mod` support and other api is needed.
|
||||
See [here](https://github.com/golang/go/wiki/Modules) for `go mod` details.
|
||||
Then, check out the project and run `make` to compile the binary:
|
||||
|
||||
@@ -71,7 +71,7 @@ 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.18 make
|
||||
$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.20 make
|
||||
```
|
||||
|
||||
The above command alone will have `coredns` binary generated.
|
||||
|
||||
Reference in New Issue
Block a user