docker-build icon indicating copy to clipboard operation
docker-build copied to clipboard

go getでエラーになる (CoreDNS)

Open kometchtech opened this issue 7 years ago • 1 comments

CoreDNSでgo getするとerrorになる件、issueのコメントを見ると将来的に解消される、という認識で良いのかな?

# github.com/coredns/coredns/plugin/metrics
src/github.com/coredns/coredns/plugin/metrics/metrics.go:43:49: too many arguments in call to prometheus.NewProcessCollector
	have (int, string)
	want (prometheus.ProcessCollectorOpts)

https://github.com/coredns/coredns/issues/2101

kometchtech avatar Nov 13 '18 06:11 kometchtech

Dockerfile中は以下のようにして、今のところ暫定的に回避。

https://github.com/kometchtech/docker-build/blob/e5ee8bdae9da59a1bb6551673085cfc977dd4ade/CoreDNS/Dockerfile#L6

kometchtech avatar Nov 13 '18 06:11 kometchtech