coredns

command module
v0.0.0-...-cbf3998 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

How to build Coredns image with aggregate plugin?

At this moment exist two ways how to build Coredns image with aggregate plugin.

Build via Coredns soruce code

You can build Coredns image via source code of Corends for this case you need to run:

$ cd $GOPATH
$ git clone https://github.com/coredns/coredns
$ cd coredns
$ echo aggregate:github.com/lllamnyp/aggregate >> plugin.cfg
$ make
Build via custom main.go file

As alternative you can create your own main.go file and build your own Coredns binary. Take a look at Official example. After that you will need also to create your own Dockerfile. You can also use files prepared for lllamnyp. For this you need to run:

$ go build -o coredns/coredns coredns/main.go
$ docker build coredns/. -t "${ORG}/coredns:${TAG}"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL