docker-build
docker-build copied to clipboard
go getでエラーになる (CoreDNS)
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
Dockerfile中は以下のようにして、今のところ暫定的に回避。
https://github.com/kometchtech/docker-build/blob/e5ee8bdae9da59a1bb6551673085cfc977dd4ade/CoreDNS/Dockerfile#L6