imjasonh / ideas

A place for me to file issues against myself for things I want to build when I'm bored
5 stars 0 forks source link

buildkit frontend for ko #102

Open imjasonh opened 2 years ago

imjasonh commented 2 years ago

Inspired by https://twitter.com/tonistiigi/status/1467941236799463425

It should be possible to write a buildkit frontend that takes config from a .ko.yaml and can execute builds to produce ~identical images to ko.

go build invocations would happen in a container (requiring a container runtime to build), and would still be limited to ko's use cases (Go container images), but it might open up other possibilities too.

If nothing else it'd be a good exercise to try out and understand alternative buildkit frontends.