Bump golang to 1.20.0 (#6070)

Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
This commit is contained in:
Ayato Tokubi
2023-05-04 09:47:18 +01:00
committed by GitHub
parent efd9bd4c1b
commit 83e94a91b9
7 changed files with 11 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ out-of-tree plugins.
To compile CoreDNS, we assume you have a working Go setup. See various tutorials if you dont 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.