mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-29 01:04:15 -04:00 
			
		
		
		
	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:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user