Jib vs. Cloud Native Buildpacks #26527
Replies: 3 comments 5 replies
-
I'm fine with making the change. I'm not sure how much documentation, workflows, and code needs to be updated. |
Beta Was this translation helpful? Give feedback.
-
Research so far: Jib was introduced to JHipster prior to 2019. The earliest commit of My initial examination of Jib really leans into my prejudices: Jib's POM declarative configuration feels more natural to me (as a Maven early adopter). This idea may simmer a bit longer. I might start working on a PR in my fork, but may not submit anything in the immediate future. Anyone that's passionate about CNB on the core team is welcome to "steal this idea" and run with it. |
Beta Was this translation helpful? Give feedback.
-
I came just across this post https://twitter.com/helpermethod/status/1808857739092725840. If CDS does not work (easily) with jib but with buildpacks, that would be a huge argument in favor to move to boot's default buildpack support. https://docs.spring.io/spring-framework/reference/integration/cds.html |
Beta Was this translation helpful? Give feedback.
-
I stumbled, figuratively, on the availability of Cloud Native Buildpacks (CNB) in Spring Boot 2.3+ today.
spring-boot:build-image
andspring-boot:build-image-no-fork
both support creating a container from the project and are available "natively" to Spring Boot without an extra plugin, currently the jib-maven-plugin.I'm a fan of Jib and equally a supporter of JHipster's use of Jib. Heck, I wrote a CI/CD component for Jib and contributed it to To Be Continuous's Maven template. I'm also not aware if the Jib support in JHipster predates Spring Boot's CNB support.
To achieve parity looks doable. Removing Jib could be a blow to the visibility of Jib (I know JHipster made me aware of it), but it could simplify the stack by using one less tool and track to Spring Boot's built-in support as well. I may take an inventory of existing documentation and generator templates to judge the LOE and open a PR.
Wholesale replacement or generator option would be the next question. Currently, one get's Jib without even being aware of it, so replacement might be desirable.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions