logoalt Hacker News

cyberaxtoday at 6:28 PM1 replyview on HN

Buildkit...

It sounds great in theory, but it JustDoesn'tWork(tm).

Its caching is plain broken, and the overhead of transmitting the entire build state to the remote computer every time is just busywork for most cases. I switched to Podman+buildah as a result, because it uses the previous dead simple Docker layered build system.

If you don't believe me, try to make caching work on Github with multi-stage images. Just have a base image and a couple of other images produced from it and try to use the GHA cache to minimize the amount of pulled data.


Replies

mid-kidtoday at 6:58 PM

How do you use buildah? with dockerfiles?

I find that buildah is sort of unbearably slow when using dockerfiles...

show 1 reply