docs: update the compile-from-source section (#2449)

You can't go get coredns - update this section.

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2019-01-09 09:28:08 +00:00
committed by GitHub
parent 18f25dbef3
commit 0efa99e954

View File

@@ -44,15 +44,17 @@ out-of-tree plugins.
## Compilation from Source ## Compilation from Source
Check out the project and do dependency resolution with: Check out the project:
~~~ ~~~
% go get github.com/coredns/coredns % git clone https://github.com/coredns/coredns
~~~ ~~~
Some of the dependencies require Go version 1.9 or later. We vendor most (not all!) 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 check out the correct version as well.
We vendor most (not all!) packages. Building from scratch is easiest, by just using `make`: Next just run `make`:
~~~ ~~~
% make % make