diff options
author | 2019-03-03 23:30:15 -0800 | |
---|---|---|
committer | 2019-03-04 07:30:15 +0000 | |
commit | dfa413af096646e04882bb8312eef27fe1a160ef (patch) | |
tree | ee4c424f31562c8d16793a4782073618dc75dc51 | |
parent | 5e5c31edfe089252fecf844255567189f0e29d28 (diff) | |
download | coredns-dfa413af096646e04882bb8312eef27fe1a160ef.tar.gz coredns-dfa413af096646e04882bb8312eef27fe1a160ef.tar.zst coredns-dfa413af096646e04882bb8312eef27fe1a160ef.zip |
Update README.md to remove the description of vendoring (#2650)
Since we already removed vendor directory.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
-rw-r--r-- | README.md | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -46,11 +46,10 @@ 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 `$GOPATH` is correctly set. See [here](https://github.com/golang/go/wiki/SettingGOPATH) for details. Then, check out the project under your `$GOPATH` and run `make` to compile the binary: - +First, make sure your golang version is 1.12 or higher as `go mod` support 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: ~~~ -$ mkdir -p $GOPATH/src/github.com/coredns -$ cd $GOPATH/src/github.com/coredns/ $ git clone https://github.com/coredns/coredns $ cd coredns $ make @@ -58,10 +57,6 @@ $ make This should yield a `coredns` binary. -We vendor most ([not all!](https://github.com/coredns/coredns/issues/1523)) packages. This is mostly because vendoring isn't a perfect solution (in -Go). We don't vendor `mholt/caddy` and `miekg/dns` for instance. Using `make` will pull down these -dependencies and checks out the correct version as well. - ## Compilation with Docker CoreDNS requires Go to compile. However, if you already have docker installed and prefer not to setup |