#Cloud native buildpacks
1 messages Β· Page 1 of 1 (latest)
π @deep plume happy new year!
We currently don't have an official CNB's support but there's been a recent effort from @foggy dagger in this community where he managed to integrate it in a very simple and comprehensive way. You can check Harsh's repo here: https://github.com/RealHarshThakur/dagger-builpack.
Having said that, we'd love to officially support this eventually so any feedback we could get from the community is much appreciated π
@obtuse skiff happy new year too! thank you π i'll check the repo. In case of specific question, can i ask directly to @foggy dagger ? From my point of view can be a relevant feature be able to manage CNB in an official way. Anyway I'm not super expert of dagger, I've just read some docs and did some research online. So far i think that dagger is a great project that can improve a lot the delivery process and management.
@deep plume sure, you can ping Harsh about it. It'd be great if you publicly start a thread in #πuniverse or #1034366157156790293 so we can all collaborate there. There's also a community call recording link that you'll find in #general where he demoed this integration that he made
I think this is the correct link: #general message
thank you @obtuse skiff I've found the recording few minutes ago on the dagger.io website. I'm watching that right now. I'll let you know in the public thread..
Happy to help out π @deep plume
Can I know what you're trying to achieve? For me, the motivation was to use buildkit directly for buildpacks.
hello @foggy dagger since I decided to move all the projects to buildpack to limit the scope of the developers while writing the dockerfile, i only work with buildpacks or similar technologies. I know also Google Jib and others
Nice, I recently added support for Ko too. https://github.com/ko-build/ko
I don't yet understand Java world enough to add support for jib π
Ko on Dagger? πππ
also interested in this one since ko model is a bit different from buildpacks and jib in the sense that it doesn't require Docker π€
really? i will check it to have more details
look like it works only with golang application, is that right?
@foggy dagger i think that "maybe" a simpler approach is integrate the CLI directly because is more easy to maintain (imho)
for example jib is available through maven and then you only need the appropriate maven task to run the build from dagger
this is from redhat
yes, that's correct.
do you know other general purpose tools for building docker images without docker file? I'm personally interested also in exploring native build and possible "orchestrators" like nomad
yes, there's also apko that's becoming quite popular also
this one? https://github.com/chainguard-dev/apko
yep
sorry for "dummy" question but you first need to convert the code base in alpine package?
i've never heard of apko π
yes, you can use melange (https://github.com/chainguard-dev/melange) for that
so basically apko and melange go hand in hand
i see but is designed for microservices? i dont have experiences in alpine package for backend microservices
you can package any kind of app AFAIK. I haven't used them that much
i see thank you π I'll check deeply
I just followed Ko's install guide and gave it a shot.
https://github.com/RealHarshThakur/dagger-builpack/blob/main/pipeline/build.go#L76
Even for buildpacks, I've managed to avoid Docker(credits to someone from Dagger community for pointing it out).