GoogleContainerTools / GoogleContainerTools/skaffold
`skaffold init --analyze` builder ordering
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
In Java projects such as https://github.com/GoogleCloudPlatform/cloud-code-samples/tree/master/java/java-hello-world, there is a `Dockerfile` and a `pom.xml` with Jib configured.
```
$ skaffold init --XXenableJibInit --analyze --skip-deploy | jq
{
"builders": [
{
"name": "Docker",
"payload": {
"path": "Dockerfile"
}
},
{
"name": "Jib Maven Plugin",
"payload": {
"path": "pom.xml",
"project": "org.springframework.boot:hello-world"
}
}
]
}
```
Cloud Code IntelliJ uses the ordering of the builders returned here to determine the default builder. If Docker and Jib builders are detected, can Jib take precedence?
Related: https://github.com/GoogleContainerTools/skaffold/issues/3661#issuecomment-592732189
Contributor guide
Assessment
This issue has not been assessed yet.