This泊坞文件的目标是:
目标:提供一个thrift-compiler Docker镜像
我只是想知道为什么这张图片需要安装trial1 %>%
gather(variable, value, -Habitat, -Sex, -Birds) %>%
group_by(Sex, Habitat) %>%
summarise(count = sum(value)) %>%
spread(Habitat, count)
Sex Disturb Undisturb
* <chr> <int> <int>
1 Female 6 23
2 Male 69 117
答案 0 :(得分:1)
似乎下载了Golang二进制包,但只能复制gofmt
。看一下https://github.com/apache/thrift/blob/19baeefd8c38d62085891d7956349601f79448b3/compiler/cpp/src/thrift/generate/t_go_generator.cc,似乎有一点他们在Golang生成的代码上运行gofmt
。
该部分代码的评论链接到https://issues.apache.org/jira/browse/THRIFT-3893,该https://github.com/apache/thrift/pull/1061引用了实际删除该功能的提取请求https://github.com/apache/thrift/commit/2007783e874d524a46b818598a45078448ecc53e。
特定提交(https://davidwalsh.name/nodelist-array)似乎是0.10但不是0.9。因此,随着gofmt
的禁用,他们可能只是忘记将其从图像中删除,或者认为它只是值得离开,因为该功能可以在以后修复并重新启用。
向Thrift团队询问有关它的问题以及是否可以删除它可能是值得的。